OR default SSL_OP_LEGACY_SERVER_CONNECT so existing options are preserved
authorDr. Stephen Henson <steve@openssl.org>
Wed, 17 Feb 2010 19:43:08 +0000 (19:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 17 Feb 2010 19:43:08 +0000 (19:43 +0000)
ssl/ssl_lib.c

index 231f87b30740f16cc42e8d38e737b859e70b5ab3..15650da5e7206cfd3fb0b6d86184aa74ed24fffb 100644 (file)
@@ -1601,7 +1601,7 @@ SSL_CTX *SSL_CTX_new(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: