diff options
| author | Warlockbugs <Warlockbugs@users.noreply.github.com> | 2018-03-04 17:53:41 +0300 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2018-03-04 15:53:41 +0100 |
| commit | efef6b5e36a8cd8eca023b8aa6a5d8cbd532ca68 (patch) | |
| tree | 47e8c0cf598600387543431db2a2312c14f9129a /src/common/Cryptography/ARC4.h | |
| parent | 1560224d73085801fbde85056bb1117905d1308c (diff) | |
Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21533)
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/ARC4.h')
| -rw-r--r-- | src/common/Cryptography/ARC4.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/Cryptography/ARC4.h b/src/common/Cryptography/ARC4.h index 4f7fba1f31d..629be510bbc 100644 --- a/src/common/Cryptography/ARC4.h +++ b/src/common/Cryptography/ARC4.h @@ -19,19 +19,19 @@ #ifndef _AUTH_SARC4_H #define _AUTH_SARC4_H -#include <openssl/evp.h> #include "Define.h" +#include <openssl/evp.h> class TC_COMMON_API ARC4 { public: ARC4(uint32 len); - ARC4(uint8 *seed, uint32 len); + ARC4(uint8* seed, uint32 len); ~ARC4(); - void Init(uint8 *seed); - void UpdateData(int len, uint8 *data); + void Init(uint8* seed); + void UpdateData(int len, uint8* data); private: - EVP_CIPHER_CTX m_ctx; + EVP_CIPHER_CTX* m_ctx; }; #endif |
