summaryrefslogtreecommitdiff
path: root/lib/ssluse.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-01-19 22:28:04 +0100
committerYang Tse <yangsita@gmail.com>2012-01-19 22:29:00 +0100
commite64d332e7909ea9ba76f241a0fdf9cfe4b6b1236 (patch)
tree0d287b8f06c95c68a8504aeebfb9ce3ad0d3184d /lib/ssluse.c
parent00e615de7e5a70cd9a010b11af0edf7e7aa14421 (diff)
downloadcurl-e64d332e7909ea9ba76f241a0fdf9cfe4b6b1236.tar.gz
OpenSSL: follow-up for commit a20daf90e3
avoid checking preprocessor definition official value
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r--lib/ssluse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index ec1a149c8..3754904f4 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -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