diff options
author | Warlockbugs <Warlockbugs@users.noreply.github.com> | 2018-03-04 17:26:08 +0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-03-04 15:26:08 +0100 |
commit | 87bd1126ff3a6e8ba83fc01985d20e3436d926be (patch) | |
tree | b19d78acf6407b0afc4151a5e871d1370a1b5f5b /src/common/Cryptography/HmacHash.h | |
parent | 7e643662fda63c92f32cf78323acdbd08732ccea (diff) |
Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.
Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.
Port of CMaNGOS commit: https://github.com/cmangos/mangos-wotlk/commit/e1b0048f052eda46bb27d20224d0339960816ac2
Diffstat (limited to 'src/common/Cryptography/HmacHash.h')
-rw-r--r-- | src/common/Cryptography/HmacHash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Cryptography/HmacHash.h b/src/common/Cryptography/HmacHash.h index 6f049d42255..a8c2eee6f09 100644 --- a/src/common/Cryptography/HmacHash.h +++ b/src/common/Cryptography/HmacHash.h @@ -43,7 +43,7 @@ class TC_COMMON_API HmacHash uint8* GetDigest() { return _digest; } uint32 GetLength() const { return DigestLength; } private: - HMAC_CTX _ctx; + HMAC_CTX* _ctx; uint8 _digest[DigestLength]; }; |