openssl client: handle TLS options

This commit is contained in:
Benjamin Sergeant
2019-09-29 20:07:53 -07:00
parent 864249b62d
commit 2aca019d84
2 changed files with 100 additions and 74 deletions

View File

@ -41,6 +41,7 @@ namespace ix
bool openSSLHandshake(const std::string& hostname, std::string& errMsg);
bool openSSLCheckServerCert(SSL* ssl, const std::string& hostname, std::string& errMsg);
bool checkHost(const std::string& host, const char* pattern);
bool handleTLSOptions(std::string& errMsg);
SSL* _ssl_connection;
SSL_CTX* _ssl_context;