OR default SSL_OP_LEGACY_SERVER_CONNECT so existing options are preserved

This commit is contained in:
Dr. Stephen Henson 2010-02-17 19:43:46 +00:00
parent 989238802a
commit 8321bab39c

View File

@ -1687,7 +1687,7 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth)
/* Default is to connect to non-RI servers. When RI is more widely /* Default is to connect to non-RI servers. When RI is more widely
* deployed might change this. * deployed might change this.
*/ */
ret->options = SSL_OP_LEGACY_SERVER_CONNECT; ret->options |= SSL_OP_LEGACY_SERVER_CONNECT;
return(ret); return(ret);
err: err: