mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-15 20:32:28 +00:00
feat(net): add SRP6_Client
This commit is contained in:
parent
5d1a800076
commit
cb62e2dcfe
5 changed files with 45 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ void Grunt::ClientLink::LogonNewSession(const Grunt::ClientLink::Logon& logon) {
|
|||
*decoration = '\0';
|
||||
}
|
||||
|
||||
// TODO SRP6_Client::BeginAuthentication
|
||||
this->m_srpClient.BeginAuthentication(accountNameUnDecorated, password);
|
||||
|
||||
CDataStoreCache<1024> clientChallenge;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
#include "net/connection/WowConnectionResponse.hpp"
|
||||
#include "net/grunt/Pending.hpp"
|
||||
#include "net/grunt/Timer.hpp"
|
||||
#include "net/srp/SRP6_Client.hpp"
|
||||
#include "net/Types.hpp"
|
||||
#include <storm/Thread.hpp>
|
||||
|
||||
|
|
@ -31,6 +32,7 @@ class Grunt::ClientLink : public WowConnectionResponse, Grunt::Pending, Grunt::T
|
|||
Grunt::Timer m_timer;
|
||||
uint32_t m_clientIP = 0;
|
||||
int32_t m_state;
|
||||
SRP6_Client m_srpClient;
|
||||
SCritSect m_critSect;
|
||||
WowConnection* m_connection = nullptr;
|
||||
ClientResponse* m_clientResponse;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue