diff options
Diffstat (limited to 'src/common/Cryptography/Authentication/AuthCrypt.h')
-rw-r--r-- | src/common/Cryptography/Authentication/AuthCrypt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/Cryptography/Authentication/AuthCrypt.h b/src/common/Cryptography/Authentication/AuthCrypt.h index cb1a217297a..86c186bef69 100644 --- a/src/common/Cryptography/Authentication/AuthCrypt.h +++ b/src/common/Cryptography/Authentication/AuthCrypt.h @@ -19,6 +19,7 @@ #define _AUTHCRYPT_H #include "ARC4.h" +#include "AuthDefines.h" #include <array> class TC_COMMON_API AuthCrypt @@ -26,7 +27,7 @@ class TC_COMMON_API AuthCrypt public: AuthCrypt(); - void Init(std::array<uint8, 40> const& K); + void Init(SessionKey const& K); void DecryptRecv(uint8* data, size_t len); void EncryptSend(uint8* data, size_t len); |