mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Crypto: Fixed GenericHMAC::Finalize wth openssl 3.0
(cherry picked from commit 0b6f77a006)
This commit is contained in:
@@ -118,7 +118,7 @@ namespace Trinity::Impl
|
||||
|
||||
void Finalize()
|
||||
{
|
||||
size_t length = 0;
|
||||
size_t length = DIGEST_LENGTH;
|
||||
int result = EVP_DigestSignFinal(_ctx, _digest.data(), &length);
|
||||
ASSERT(result == 1);
|
||||
ASSERT(length == DIGEST_LENGTH);
|
||||
|
||||
Reference in New Issue
Block a user