correct authClients offset

This commit is contained in:
orignal 2019-08-25 14:54:43 -04:00
parent 478d7b4a83
commit 0b5509a1ed

View file

@ -875,7 +875,7 @@ namespace data
{
RAND_bytes (innerInput, 32); // authCookie
htobe16buf (m_Buffer + offset, authKeys->size ()); offset += 2; // num clients
CreateClientAuthData (subcredential, authType, authKeys, innerInput, m_Buffer);
CreateClientAuthData (subcredential, authType, authKeys, innerInput, m_Buffer + offset);
offset += authKeys->size ()*40; // auth clients
}
// Layer 2