summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-12-16 20:28:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-12-16 20:28:30 +0000
commit675564835cb1105289ee85e32844d38af5efef4c (patch)
treea2475af596d14c5f1cc39a1dde69b9f4b79ad61b /ssl/ssl_lib.c
parent2456cd58c4a685f9303b9d9235dcc13c6d0a962e (diff)
New option to enable/disable connection to unpatched servers
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 6dc739dcf6..9552333920 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -1677,6 +1677,10 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth)
}
#endif
#endif
+ /* Default is to connect to non-RI servers. When RI is more widely
+ * deployed might change this.
+ */
+ ret->options = SSL_OP_LEGACY_SERVER_CONNECT;
return(ret);
err: