From 7de81cd42bb8f6409892cfa15a675c54fe4441c8 Mon Sep 17 00:00:00 2001 From: uni-kod Date: Sun, 31 Aug 2025 09:32:33 +0300 Subject: [PATCH] Fix code compilation. (#1583) * Fix "blake2b.h" header file location. * Include "blake2b.h" to fix compilation. --- src/Common/Crypto.h | 2 +- src/Volume/Hash.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h index 2905d405..85f7cbea 100644 --- a/src/Common/Crypto.h +++ b/src/Common/Crypto.h @@ -205,7 +205,7 @@ typedef struct # include "Sha2.h" # include "Whirlpool.h" # include "argon2.h" -# include "blake2b.h" +# include "Crypto/Argon2/src/blake2/blake2b.h" # include "Streebog.h" # include "kuznyechik.h" # include "Camellia.h" diff --git a/src/Volume/Hash.cpp b/src/Volume/Hash.cpp index f739f664..e4ceab91 100644 --- a/src/Volume/Hash.cpp +++ b/src/Volume/Hash.cpp @@ -12,6 +12,7 @@ #include "Hash.h" +#include "Crypto/Argon2/src/blake2/blake2b.h" #include "Crypto/blake2s.h" #include "Crypto/Sha2.h" #include "Crypto/Whirlpool.h"