Skip to content

Commit

Permalink
SSL: removed use of the SSL_OP_MSIE_SSLV2_RSA_PADDING option.
Browse files Browse the repository at this point in the history
It has no effect since OpenSSL 0.9.7h and 0.9.8a.
  • Loading branch information
pluknet committed Aug 10, 2021
1 parent 9e4e7a4 commit 926e0aa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/event/ngx_event_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,6 @@ ngx_ssl_create(ngx_ssl_t *ssl, ngx_uint_t protocols, void *data)
SSL_CTX_set_options(ssl->ctx, SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER);
#endif

#ifdef SSL_OP_MSIE_SSLV2_RSA_PADDING
/* this option allow a potential SSL 2.0 rollback (CAN-2005-2969) */
SSL_CTX_set_options(ssl->ctx, SSL_OP_MSIE_SSLV2_RSA_PADDING);
#endif

#ifdef SSL_OP_SSLEAY_080_CLIENT_DH_BUG
SSL_CTX_set_options(ssl->ctx, SSL_OP_SSLEAY_080_CLIENT_DH_BUG);
#endif
Expand Down

0 comments on commit 926e0aa

Please sign in to comment.