(openssl) add sni support

This commit is contained in:
Benjamin Sergeant 2018-10-01 17:36:21 -07:00
parent 09af729c07
commit 8f5d83c5c2

View File

@ -242,6 +242,9 @@ namespace ix
return false;
}
// SNI support
SSL_set_tlsext_host_name(_ssl_connection, host.c_str());
handshakeSuccessful = openSSLHandshake(errMsg);
}