diff options
Diffstat (limited to 'src/common/Cryptography/Authentication/AuthCrypt.h')
-rw-r--r-- | src/common/Cryptography/Authentication/AuthCrypt.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common/Cryptography/Authentication/AuthCrypt.h b/src/common/Cryptography/Authentication/AuthCrypt.h index c89079ddb4..88239a9e36 100644 --- a/src/common/Cryptography/Authentication/AuthCrypt.h +++ b/src/common/Cryptography/Authentication/AuthCrypt.h @@ -20,12 +20,11 @@ #include "ARC4.h" #include "AuthDefines.h" -#include <array> -class AuthCrypt +class AC_COMMON_API AuthCrypt { public: - AuthCrypt(); + AuthCrypt() = default; void Init(SessionKey const& K); void DecryptRecv(uint8* data, size_t len); @@ -36,6 +35,6 @@ public: private: Acore::Crypto::ARC4 _clientDecrypt; Acore::Crypto::ARC4 _serverEncrypt; - bool _initialized; + bool _initialized{ false }; }; #endif |