diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-05-07 17:39:20 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-05-07 17:39:20 +0200 |
commit | c0bc6d96cd67071e433b473bfb76a113529b1deb (patch) | |
tree | 3fd6de8396a08e04754f8c725c405933a0a2c98d /contrib/epee/include/net | |
parent | Merge pull request #5506 (diff) | |
parent | net_ssl: SSL config tweaks for compatibility and security (diff) | |
download | monero-c0bc6d96cd67071e433b473bfb76a113529b1deb.tar.xz |
Merge pull request #5509
a62e0725 net_ssl: SSL config tweaks for compatibility and security (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include/net')
-rw-r--r-- | contrib/epee/include/net/net_ssl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/epee/include/net/net_ssl.h b/contrib/epee/include/net/net_ssl.h index 5ef2ff59d..3a97dfdaf 100644 --- a/contrib/epee/include/net/net_ssl.h +++ b/contrib/epee/include/net/net_ssl.h @@ -135,6 +135,9 @@ namespace net_utils constexpr size_t get_ssl_magic_size() { return 9; } bool is_ssl(const unsigned char *data, size_t len); bool ssl_support_from_string(ssl_support_t &ssl, boost::string_ref s); + + bool create_ec_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert); + bool create_rsa_ssl_certificate(EVP_PKEY *&pkey, X509 *&cert); } } |