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 14:25:37 +0100
commitf7ab8bc6d42ee2b11132c3009ac0207ba6117685 (patch)
tree796c48829d161656ec43ec1585c7e0cb7d03fb07 /contrib/epee/include/net/net_ssl.h
parentMerge pull request #7192 (diff)
downloadmonero-f7ab8bc6d42ee2b11132c3009ac0207ba6117685.tar.xz
ssl: buffered handshake detection
Diffstat (limited to '')
-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;
};