FS-10167: Small fix to get linux build working, tested and working correctly

This commit is contained in:
Shane Bryldt 2017-09-07 07:48:48 -05:00
parent ee8db10a5f
commit bda523b5af
1 changed files with 2 additions and 1 deletions

View File

@ -221,7 +221,8 @@ ks_status_t blade_transport_wss_link_ssl_init(blade_transport_wss_link_t *btwssl
SSL_CTX_set_options(btwssl->ssl, SSL_OP_NO_SSLv3);
SSL_CTX_set_options(btwssl->ssl, SSL_OP_NO_TLSv1);
SSL_CTX_set_options(btwssl->ssl, SSL_OP_NO_TLSv1_1);
SSL_CTX_set_options(btwssl->ssl, SSL_OP_NO_DTLSv1);
// @todo look into difference in debian vs windows OpenSSL, aparantly debian system package does not provide this definition
//SSL_CTX_set_options(btwssl->ssl, SSL_OP_NO_DTLSv1);
SSL_CTX_set_options(btwssl->ssl, SSL_OP_NO_COMPRESSION);
if (server) SSL_CTX_set_verify(btwssl->ssl, SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT, NULL);