From 547a0057e6bd7e6404f4c814af2130bc25b4fa55 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 20 Feb 2018 13:04:39 -0500 Subject: [PATCH] whitespace cleanup --- libi2pd/NTCPSession.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libi2pd/NTCPSession.cpp b/libi2pd/NTCPSession.cpp index be061740..e3d6c004 100644 --- a/libi2pd/NTCPSession.cpp +++ b/libi2pd/NTCPSession.cpp @@ -201,6 +201,7 @@ namespace transport m_Encryption.SetIV (y + 240); m_Decryption.SetIV (m_Establisher->phase1.HXxorHI + 16); + m_Encryption.Encrypt ((uint8_t *)&m_Establisher->phase2.encrypted, sizeof(m_Establisher->phase2.encrypted), (uint8_t *)&m_Establisher->phase2.encrypted); boost::asio::async_write(m_Socket, boost::asio::buffer (&m_Establisher->phase2, sizeof (NTCPPhase2)), boost::asio::transfer_all(), std::bind(&NTCPSession::HandlePhase2Sent, shared_from_this(), std::placeholders::_1, std::placeholders::_2, tsB));