mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-28 11:44:16 +00:00
choose version for handshake on Alice side
This commit is contained in:
+2
-1
@@ -528,7 +528,8 @@ namespace transport
|
||||
memcpy (m_Establisher->m_IV, addr->i, 16);
|
||||
m_RemoteEndpoint = boost::asio::ip::tcp::endpoint (addr->host, addr->port);
|
||||
#if OPENSSL_PQ
|
||||
//m_Establisher->SetVersion (addr->v);
|
||||
if (m_Server.GetVersion () > 2) // we support post quantum in config
|
||||
m_Establisher->SetVersion (addr->v);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user