aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/net_ssl.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-07-15 11:25:11 -0400
committerluigi1111 <luigi1111w@gmail.com>2022-07-15 11:25:11 -0400
commit9df069f4cefb20cc4dd172696a5c74888bd6d9d1 (patch)
treee1f04e62ac4c2281193cf30c421f5e092552284e /contrib/epee/include/net/net_ssl.h
parentMerge pull request #8425 (diff)
parentaddress PR comments (diff)
downloadmonero-9df069f4cefb20cc4dd172696a5c74888bd6d9d1.tar.xz
Merge pull request #8426
a82fba4 address PR comments (j-berman) 3be1dbd connection: fix implementation (anon) 724ff21 connection: add segfault and deadlocks demo (anon)
Diffstat (limited to 'contrib/epee/include/net/net_ssl.h')
-rw-r--r--contrib/epee/include/net/net_ssl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/epee/include/net/net_ssl.h b/contrib/epee/include/net/net_ssl.h
index 108e6771b..c79a3acc1 100644
--- a/contrib/epee/include/net/net_ssl.h
+++ b/contrib/epee/include/net/net_ssl.h
@@ -110,6 +110,11 @@ namespace net_utils
//! Search against internal fingerprints. Always false if `behavior() != user_certificate_check`.
bool has_fingerprint(boost::asio::ssl::verify_context &ctx) const;
+ //! configure ssl_stream handshake verification
+ void configure(
+ boost::asio::ssl::stream<boost::asio::ip::tcp::socket> &socket,
+ boost::asio::ssl::stream_base::handshake_type type,
+ const std::string& host = {}) const;
boost::asio::ssl::context create_context() const;
/*! \note If `this->support == autodetect && this->verification != none`,