choose version for handshake on Alice side

This commit is contained in:
orignal
2026-01-09 13:44:23 -05:00
parent a4839bf2be
commit 86d07703b6
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -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