aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/net_helper.h
diff options
context:
space:
mode:
authoranon <anon [at] nowhere>2020-12-27 01:55:12 +0000
committerselsta <selsta@sent.at>2020-12-28 22:21:17 +0100
commitb8bc4d77b7533ff7b02c4b362ef3891da04137ba (patch)
treead00688c3f489e8bbd9bd7ad83ebe1fa6f7953b9 /contrib/epee/include/net/net_helper.h
parentMerge pull request #7193 (diff)
downloadmonero-b8bc4d77b7533ff7b02c4b362ef3891da04137ba.tar.xz
ssl: buffered handshake detection
Diffstat (limited to 'contrib/epee/include/net/net_helper.h')
-rw-r--r--contrib/epee/include/net/net_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/net_helper.h b/contrib/epee/include/net/net_helper.h
index 9446e3588..486cd51e2 100644
--- a/contrib/epee/include/net/net_helper.h
+++ b/contrib/epee/include/net/net_helper.h
@@ -178,7 +178,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)
{