aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/net_ssl.h
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2019-03-08 15:15:24 +0000
committerHoward Chu <hyc@symas.com>2019-03-08 15:15:24 +0000
commitb8c2e21cba5c5f2db050d9d464bef9417fc6f62b (patch)
tree6ca4e256aa2390e0d894602d341d133c1f1d4e9d /contrib/epee/include/net/net_ssl.h
parentMerge pull request #5232 (diff)
downloadmonero-b8c2e21cba5c5f2db050d9d464bef9417fc6f62b.tar.xz
Fix startup errors with SSL cert generation
Use SSL API directly, skip boost layer
Diffstat (limited to '')
-rw-r--r--contrib/epee/include/net/net_ssl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/epee/include/net/net_ssl.h b/contrib/epee/include/net/net_ssl.h
index ca53d3667..f7b102164 100644
--- a/contrib/epee/include/net/net_ssl.h
+++ b/contrib/epee/include/net/net_ssl.h
@@ -59,7 +59,6 @@ namespace net_utils
bool is_ssl(const unsigned char *data, size_t len);
ssl_context_t create_ssl_context(const std::pair<std::string, std::string> &private_key_and_certificate_path, std::list<std::string> allowed_certificates, std::vector<std::vector<uint8_t>> allowed_fingerprints, bool allow_any_cert);
void use_ssl_certificate(ssl_context_t &ssl_context, const std::pair<std::string, std::string> &private_key_and_certificate_path);
- bool create_ssl_certificate(std::string &pkey_buffer, std::string &cert_buffer);
bool is_certificate_allowed(boost::asio::ssl::verify_context &ctx, const ssl_context_t &ssl_context);
bool ssl_handshake(boost::asio::ssl::stream<boost::asio::ip::tcp::socket> &socket, boost::asio::ssl::stream_base::handshake_type type, const epee::net_utils::ssl_context_t &ssl_context);
bool ssl_support_from_string(ssl_support_t &ssl, boost::string_ref s);