Core/Battle.net: Fixed encryption

This commit is contained in:
Shauren
2014-05-04 11:49:32 +02:00
parent 769fadd104
commit f0d6f87138
2 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
#include "BigNumber.h"
#include "Common.h"
HmacHash::HmacHash(uint32 len, uint8 *seed, EVP_MD const* hasher, uint32 digestLength)
HmacHash::HmacHash(uint32 len, uint8 *seed, EVP_MD const* hasher, uint32 digestLength) : _digestLength(digestLength)
{
HMAC_CTX_init(&_ctx);
HMAC_Init_ex(&_ctx, seed, len, hasher, NULL);