diff options
Diffstat (limited to 'src/common/Cryptography/CryptoHash.h')
-rw-r--r-- | src/common/Cryptography/CryptoHash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Cryptography/CryptoHash.h b/src/common/Cryptography/CryptoHash.h index d36d345b88c..a2cd393745e 100644 --- a/src/common/Cryptography/CryptoHash.h +++ b/src/common/Cryptography/CryptoHash.h @@ -96,7 +96,7 @@ namespace Trinity::Impl if (this == &right) return *this; - int result = EVP_MD_CTX_copy(_ctx, right._ctx); + int result = EVP_MD_CTX_copy_ex(_ctx, right._ctx); ASSERT(result == 1); _digest = right._digest; return *this; |