mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
correct authClients offset
This commit is contained in:
@@ -875,7 +875,7 @@ namespace data
|
|||||||
{
|
{
|
||||||
RAND_bytes (innerInput, 32); // authCookie
|
RAND_bytes (innerInput, 32); // authCookie
|
||||||
htobe16buf (m_Buffer + offset, authKeys->size ()); offset += 2; // num clients
|
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
|
offset += authKeys->size ()*40; // auth clients
|
||||||
}
|
}
|
||||||
// Layer 2
|
// Layer 2
|
||||||
|
|||||||
Reference in New Issue
Block a user