OpenSSL: follow-up for commit a20daf90e3

avoid checking preprocessor definition official value
This commit is contained in:
Yang Tse 2012-01-19 22:28:04 +01:00
parent 00e615de7e
commit e64d332e79
1 changed files with 1 additions and 2 deletions

View File

@ -1553,8 +1553,7 @@ ossl_connect_step1(struct connectdata *conn,
ctx_options |= SSL_OP_NO_TICKET;
#endif
#if defined(SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG) && \
(SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG == 0x00000008L)
#ifdef SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG
/* mitigate CVE-2010-4180 */
ctx_options &= ~SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG;
#endif