From e64d332e7909ea9ba76f241a0fdf9cfe4b6b1236 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 19 Jan 2012 22:28:04 +0100 Subject: [PATCH] OpenSSL: follow-up for commit a20daf90e3 avoid checking preprocessor definition official value --- lib/ssluse.c | 3 +-- 1 file changed, 1 insertion(+), 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