aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/net_ssl.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_ssl.h
parentMerge pull request #7193 (diff)
downloadmonero-b8bc4d77b7533ff7b02c4b362ef3891da04137ba.tar.xz
ssl: buffered handshake detection
Diffstat (limited to 'contrib/epee/include/net/net_ssl.h')
-rw-r--r--contrib/epee/include/net/net_ssl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/net/net_ssl.h b/contrib/epee/include/net/net_ssl.h
index 643b2c486..1b1577e77 100644
--- a/contrib/epee/include/net/net_ssl.h
+++ b/contrib/epee/include/net/net_ssl.h
@@ -132,6 +132,7 @@ namespace net_utils
bool handshake(
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> &socket,
boost::asio::ssl::stream_base::handshake_type type,
+ boost::asio::const_buffer buffer = {},
const std::string& host = {},
std::chrono::milliseconds timeout = std::chrono::seconds(15)) const;
};