diff options
Diffstat (limited to 'src/server/authserver/Server/AuthSession.h')
-rw-r--r-- | src/server/authserver/Server/AuthSession.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/authserver/Server/AuthSession.h b/src/server/authserver/Server/AuthSession.h index 86bbb4a6f9a..44454f6138b 100644 --- a/src/server/authserver/Server/AuthSession.h +++ b/src/server/authserver/Server/AuthSession.h @@ -22,6 +22,7 @@ #include "BigNumber.h" #include "ByteBuffer.h" #include "Common.h" +#include "CryptoHash.h" #include "Optional.h" #include "Socket.h" #include "QueryResult.h" @@ -89,12 +90,12 @@ private: void SetVSFields(const std::string& rI); - bool VerifyVersion(uint8 const* a, int32 aLength, uint8 const* versionProof, bool isReconnect); + bool VerifyVersion(uint8 const* a, int32 aLength, Trinity::Crypto::SHA1::Digest const& versionProof, bool isReconnect); BigNumber N, s, g, v; BigNumber b, B; - BigNumber K; - BigNumber _reconnectProof; + std::array<uint8, 40> sessionKey; + std::array<uint8, 16> _reconnectProof; AuthStatus _status; AccountInfo _accountInfo; |