diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-04-17 08:04:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 08:04:41 -0400 |
commit | 72ffa7fedb34585948f8c9a47bfaebeb6cc5d537 (patch) | |
tree | b0feb3dbeb6c347371e78ce025212e704588f276 /src/libutil/hash.cc | |
parent | 9af9c260fc0aff9e20a1c2e965249a20394ca22a (diff) | |
parent | ddebeb934a20225eec518520c96768bf00f0810a (diff) |
Merge pull request #7732 from hercules-ci/make-initLibStore-viable-alternative
Make `initLibStore` a viable alternative
Diffstat (limited to 'src/libutil/hash.cc')
-rw-r--r-- | src/libutil/hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc index 0c8f5727d..2c36d9d94 100644 --- a/src/libutil/hash.cc +++ b/src/libutil/hash.cc @@ -1,6 +1,7 @@ #include <iostream> #include <cstring> +#include <openssl/crypto.h> #include <openssl/md5.h> #include <openssl/sha.h> @@ -16,7 +17,6 @@ namespace nix { - static size_t regularHashSize(HashType type) { switch (type) { case htMD5: return md5HashSize; |