mirror of
https://github.com/monero-project/monero.git
synced 2025-07-28 12:34:17 -04:00
ssl: buffered handshake detection
This commit is contained in:
parent
7438617bbf
commit
f7ab8bc6d4
5 changed files with 14 additions and 13 deletions
|
@ -179,7 +179,7 @@ namespace net_utils
|
|||
// SSL Options
|
||||
if (m_ssl_options.support == epee::net_utils::ssl_support_t::e_ssl_support_enabled || m_ssl_options.support == epee::net_utils::ssl_support_t::e_ssl_support_autodetect)
|
||||
{
|
||||
if (!m_ssl_options.handshake(*m_ssl_socket, boost::asio::ssl::stream_base::client, addr, timeout))
|
||||
if (!m_ssl_options.handshake(*m_ssl_socket, boost::asio::ssl::stream_base::client, {}, addr, timeout))
|
||||
{
|
||||
if (m_ssl_options.support == epee::net_utils::ssl_support_t::e_ssl_support_autodetect)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue