From: Yang Tse Date: Thu, 19 Jan 2012 21:28:04 +0000 (+0100) Subject: OpenSSL: follow-up for commit a20daf90e3 X-Git-Tag: curl-7_24_0~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e64d332e7909ea9ba76f241a0fdf9cfe4b6b1236;p=curl OpenSSL: follow-up for commit a20daf90e3 avoid checking preprocessor definition official value --- 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