summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-12-16 20:34:20 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-12-16 20:34:20 +0000
commitccc3df8c33a3d48f56b8d3270bfbd4ae0a24736c (patch)
treea8061cf8ac3ec48f145ac90de3a0395ad13ff6bb /ssl/ssl_lib.c
parent593a6dbe1915f24e66ad1bd204fbb006f07a6a8b (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 c5eafe4524..31f76abd1a 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -1591,6 +1591,10 @@ SSL_CTX *SSL_CTX_new(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: