mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
fixed typo
This commit is contained in:
parent
089cbbc20a
commit
10251a6447
@ -979,7 +979,7 @@ namespace transport
|
||||
{
|
||||
// if it's long enough we add padding and MAC to it
|
||||
// create padding block
|
||||
auto paddingLen = CreatePaddingBlock (totalLen, buf + len, it->maxLen - len - 16);
|
||||
auto paddingLen = CreatePaddingBlock (totalLen, buf + len, it->maxLen - it->len - 16);
|
||||
encryptBufs.push_back (std::make_pair (buf + len, paddingLen));
|
||||
len += paddingLen;
|
||||
totalLen += paddingLen;
|
||||
|
Loading…
Reference in New Issue
Block a user