]> granicus.if.org Git - curl/commitdiff
OpenSSL: follow-up for commit a20daf90e3
authorYang Tse <yangsita@gmail.com>
Thu, 19 Jan 2012 21:28:04 +0000 (22:28 +0100)
committerYang Tse <yangsita@gmail.com>
Thu, 19 Jan 2012 21:29:00 +0000 (22:29 +0100)
avoid checking preprocessor definition official value

lib/ssluse.c

index ec1a149c8b4b5681169b0b4521771dd3d184141c..3754904f4b5b20421a89b3e386c2e5ab4f034409 100644 (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