mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't connect to unpublished NTCP2 addresses
This commit is contained in:
parent
910a9600bd
commit
e0790700cd
4 changed files with 6 additions and 3 deletions
|
@ -590,7 +590,7 @@ namespace transport
|
|||
uint8_t * decrypted = new uint8_t[m_NextReceivedLen];
|
||||
if (i2p::crypto::AEADChaCha20Poly1305 (m_NextReceivedBuffer, m_NextReceivedLen-16, nullptr, 0, m_ReceiveKey, nonce, decrypted, m_NextReceivedLen, false))
|
||||
{
|
||||
LogPrint (eLogInfo, "NTCP2: received message decrypted");
|
||||
LogPrint (eLogDebug, "NTCP2: received message decrypted");
|
||||
ProcessNextFrame (decrypted, m_NextReceivedLen-16);
|
||||
ReceiveLength ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue