diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2016-08-25 11:38:03 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2016-08-25 11:38:03 -0700 |
commit | 8f747e37ca75852d11cbdf34b74825c397e6fdba (patch) | |
tree | c8b25d0ecb0ffecc85fa24e14cba722ec6d067ab /common | |
parent | 47124df4eda93ea150064bd44b38007438ef5517 (diff) | |
download | xrdp-proprietary-8f747e37ca75852d11cbdf34b74825c397e6fdba.tar.gz xrdp-proprietary-8f747e37ca75852d11cbdf34b74825c397e6fdba.zip |
always set SSL_OP_NO_SSLv2 in TLS options
Diffstat (limited to 'common')
-rw-r--r-- | common/ssl_calls.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/ssl_calls.c b/common/ssl_calls.c index 04e7a177..2d3b2dfa 100644 --- a/common/ssl_calls.c +++ b/common/ssl_calls.c @@ -601,14 +601,11 @@ ssl_tls_accept(struct ssl_tls *self, int disableSSLv3, * SSLv3 is used by, eg. Microsoft RDC for Mac OS X. * No SSLv3 if disableSSLv3=yes so only tls used */ + options |= SSL_OP_NO_SSLv2; if (disableSSLv3) { options |= SSL_OP_NO_SSLv3; } - else - { - options |= SSL_OP_NO_SSLv2; - } #if defined(SSL_OP_NO_COMPRESSION) /** |