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:56 +00:00
parent c2c49969e2
commit 7512141162

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
* deployed might change this.
*/
ret->options = SSL_OP_LEGACY_SERVER_CONNECT;
ret->options |= SSL_OP_LEGACY_SERVER_CONNECT;
return(ret);
err: