diff options
| author | Treeston <treeston.mmoc@gmail.com> | 2020-07-29 00:07:41 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-29 00:07:41 +0200 | 
| commit | 7f7fa8b23d71297f75ff4ca3c1d6e38333a5cc76 (patch) | |
| tree | 18a47372b2ac3e086e0e96074562af6a1172b223 /src/server/authserver/Server/AuthSession.h | |
| parent | 210f552ac56979430f1349006c1945b29883a2bc (diff) | |
Core/Authserver: Split SRP6 into its own file (PR #25131)
Diffstat (limited to 'src/server/authserver/Server/AuthSession.h')
| -rw-r--r-- | src/server/authserver/Server/AuthSession.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/authserver/Server/AuthSession.h b/src/server/authserver/Server/AuthSession.h index 44454f6138b..9982399bcbc 100644 --- a/src/server/authserver/Server/AuthSession.h +++ b/src/server/authserver/Server/AuthSession.h @@ -25,6 +25,7 @@  #include "CryptoHash.h"  #include "Optional.h"  #include "Socket.h" +#include "SRP6.h"  #include "QueryResult.h"  #include <memory>  #include <boost/asio/ip/tcp.hpp> @@ -92,9 +93,8 @@ private:      bool VerifyVersion(uint8 const* a, int32 aLength, Trinity::Crypto::SHA1::Digest const& versionProof, bool isReconnect); -    BigNumber N, s, g, v; -    BigNumber b, B; -    std::array<uint8, 40> sessionKey; +    Optional<Trinity::Crypto::SRP6> _srp6; +    SessionKey _sessionKey;      std::array<uint8, 16> _reconnectProof;      AuthStatus _status;  | 
