]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10167: Small fix to get linux build working, tested and working correctly
authorShane Bryldt <astaelan@gmail.com>
Thu, 7 Sep 2017 12:48:48 +0000 (07:48 -0500)
committerShane Bryldt <astaelan@gmail.com>
Thu, 7 Sep 2017 12:48:48 +0000 (07:48 -0500)
libs/libblade/src/blade_transport_wss.c

index 6178a560aef4c535d5b2d2757c7b5c855b5aed3f..90fac85dd8b6ec56afe6ab505acc3b637099a12a 100644 (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);