Skip to content

Commit

Permalink
tls-openssl: do not allow ssl v2 and v3
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Sep 20, 2018
1 parent 22254b3 commit c9266c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/src/lib/tls_openssl.cc
Expand Up @@ -64,9 +64,7 @@ TlsOpenSsl::TlsOpenSsl() : d_(new TlsOpenSslPrivate)

SSL_CTX_set_options(d_->openssl_ctx_, SSL_OP_ALL);

#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
SSL_CTX_set_options(d_->openssl_ctx_, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
#endif
}

TlsOpenSsl::~TlsOpenSsl()
Expand Down

0 comments on commit c9266c3

Please sign in to comment.