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

index 6142b08872da23ccd6485ad195b61051d1b24dfc..0f7a7f1dfc1082f97a62382e397471cd848d0818 100644 (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: