Commit e64d332e authored by Yang Tse's avatar Yang Tse
Browse files

OpenSSL: follow-up for commit a20daf90

avoid checking preprocessor definition official value
parent 00e615de
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1553,8 +1553,7 @@ ossl_connect_step1(struct connectdata *conn,
  ctx_options |= SSL_OP_NO_TICKET;
  ctx_options |= SSL_OP_NO_TICKET;
#endif
#endif


#if defined(SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG) && \
#ifdef SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG
  (SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG == 0x00000008L)
  /* mitigate CVE-2010-4180 */
  /* mitigate CVE-2010-4180 */
  ctx_options &= ~SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG;
  ctx_options &= ~SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG;
#endif
#endif