mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Commented out some unneeded code
This commit is contained in:
parent
9f8fdea525
commit
dc1c3636d8
1 changed files with 4 additions and 4 deletions
|
|
@ -41,21 +41,21 @@ void AuthCrypt::Init(BigNumber *K)
|
|||
HmacHash clientDecryptHmac(SEED_KEY_SIZE, (uint8*)ServerDecryptionKey);
|
||||
uint8 *decryptHash = clientDecryptHmac.ComputeHash(K);
|
||||
|
||||
SARC4 _serverDecrypt(encryptHash);
|
||||
//SARC4 _serverDecrypt(encryptHash);
|
||||
_clientDecrypt.Init(decryptHash);
|
||||
_serverEncrypt.Init(encryptHash);
|
||||
SARC4 _clientEncrypt(decryptHash);
|
||||
//SARC4 _clientEncrypt(decryptHash);
|
||||
|
||||
uint8 syncBuf[1024];
|
||||
|
||||
memset(syncBuf, 0, 1024);
|
||||
|
||||
_serverEncrypt.UpdateData(1024, syncBuf);
|
||||
_clientEncrypt.UpdateData(1024, syncBuf);
|
||||
//_clientEncrypt.UpdateData(1024, syncBuf);
|
||||
|
||||
memset(syncBuf, 0, 1024);
|
||||
|
||||
_serverDecrypt.UpdateData(1024, syncBuf);
|
||||
//_serverDecrypt.UpdateData(1024, syncBuf);
|
||||
_clientDecrypt.UpdateData(1024, syncBuf);
|
||||
|
||||
_initialized = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue