Browse Source

correct authClients offset

pull/1413/head
orignal 5 years ago
parent
commit
0b5509a1ed
  1. 2
      libi2pd/LeaseSet.cpp

2
libi2pd/LeaseSet.cpp

@ -875,7 +875,7 @@ namespace data @@ -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

Loading…
Cancel
Save