Merge pull request #5509

a62e0725 net_ssl: SSL config tweaks for compatibility and security (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-05-07 17:39:20 +02:00
commit c0bc6d96cd
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
2 changed files with 128 additions and 4 deletions

View file

@ -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);
}
}