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

index b72a97064834cd79c860bbacb1fd269364cec50f..3157f20eac6d68e72824a572b3c437918b021efb 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: