aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 08:04:41 -0400
committerGitHub <noreply@github.com>2023-04-17 08:04:41 -0400
commit72ffa7fedb34585948f8c9a47bfaebeb6cc5d537 (patch)
treeb0feb3dbeb6c347371e78ce025212e704588f276 /src/libutil/hash.cc
parent9af9c260fc0aff9e20a1c2e965249a20394ca22a (diff)
parentddebeb934a20225eec518520c96768bf00f0810a (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.cc2
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;