mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
fixed typo
This commit is contained in:
parent
887f292612
commit
f5f4150d17
@ -294,7 +294,7 @@ namespace transport
|
||||
htobe16buf (payload + 1, 4);
|
||||
htobe32buf (payload + 3, i2p::util::GetSecondsSinceEpoch ());
|
||||
size_t payloadSize = 7;
|
||||
payloadSize += CreateAddressBlock (m_RemoteEndpoint, payload, 64 - payloadSize);
|
||||
payloadSize += CreateAddressBlock (m_RemoteEndpoint, payload + payloadSize, 64 - payloadSize);
|
||||
payloadSize += CreatePaddingBlock (payload + payloadSize, 64 - payloadSize);
|
||||
// KDF for SessionCreated
|
||||
m_NoiseState->MixHash ( { {header.buf, 16}, {headerX, 16} } ); // h = SHA256(h || header)
|
||||
@ -576,7 +576,7 @@ namespace transport
|
||||
htobe16buf (payload + 1, 4);
|
||||
htobe32buf (payload + 3, i2p::util::GetSecondsSinceEpoch ());
|
||||
size_t payloadSize = 7;
|
||||
payloadSize += CreateAddressBlock (m_RemoteEndpoint, payload, 64 - payloadSize);
|
||||
payloadSize += CreateAddressBlock (m_RemoteEndpoint, payload + payloadSize, 64 - payloadSize);
|
||||
payloadSize += CreatePaddingBlock (payload + payloadSize, 64 - payloadSize);
|
||||
// encrypt
|
||||
const uint8_t nonce[12] = {0};
|
||||
|
Loading…
Reference in New Issue
Block a user