From bda523b5af503afc10759caa34f7fd4d34968ff7 Mon Sep 17 00:00:00 2001 From: Shane Bryldt Date: Thu, 7 Sep 2017 07:48:48 -0500 Subject: [PATCH] FS-10167: Small fix to get linux build working, tested and working correctly --- libs/libblade/src/blade_transport_wss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/libblade/src/blade_transport_wss.c b/libs/libblade/src/blade_transport_wss.c index 6178a560ae..90fac85dd8 100644 --- a/libs/libblade/src/blade_transport_wss.c +++ b/libs/libblade/src/blade_transport_wss.c @@ -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);