Browse Source

fixed typo

pull/1769/head
orignal 2 years ago
parent
commit
03518ec94f
  1. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/SSU2Session.cpp

@ -440,7 +440,7 @@ namespace transport
payload[payloadSize] = eSSU2BlkNewToken; payload[payloadSize] = eSSU2BlkNewToken;
htobe16buf (payload + payloadSize + 1, 12); htobe16buf (payload + payloadSize + 1, 12);
htobe32buf (payload + payloadSize + 3, token.second); // expires htobe32buf (payload + payloadSize + 3, token.second); // expires
memcpy (payload + 7, &token.first, 8); // token memcpy (payload + payloadSize + 7, &token.first, 8); // token
payloadSize += 15; payloadSize += 15;
payloadSize += CreatePaddingBlock (payload + payloadSize, 80 - payloadSize); payloadSize += CreatePaddingBlock (payload + payloadSize, 80 - payloadSize);
// KDF for SessionCreated // KDF for SessionCreated

Loading…
Cancel
Save