summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/src/ssl/ssl_lib.c5
-rw-r--r--src/lib/libssl/ssl_lib.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/libssl/src/ssl/ssl_lib.c b/src/lib/libssl/src/ssl/ssl_lib.c
index f6a21d4351..d3108f2663 100644
--- a/src/lib/libssl/src/ssl/ssl_lib.c
+++ b/src/lib/libssl/src/ssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.85 2014/10/03 13:58:18 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.86 2014/10/15 17:39:34 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1825,6 +1825,9 @@ SSL_CTX_new(const SSL_METHOD *meth)
1825 */ 1825 */
1826 ret->options |= SSL_OP_LEGACY_SERVER_CONNECT; 1826 ret->options |= SSL_OP_LEGACY_SERVER_CONNECT;
1827 1827
1828 /* Disable SSLv3 by default. */
1829 ret->options |= SSL_OP_NO_SSLv3;
1830
1828 return (ret); 1831 return (ret);
1829err: 1832err:
1830 SSLerr(SSL_F_SSL_CTX_NEW, 1833 SSLerr(SSL_F_SSL_CTX_NEW,
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index f6a21d4351..d3108f2663 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.85 2014/10/03 13:58:18 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.86 2014/10/15 17:39:34 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1825,6 +1825,9 @@ SSL_CTX_new(const SSL_METHOD *meth)
1825 */ 1825 */
1826 ret->options |= SSL_OP_LEGACY_SERVER_CONNECT; 1826 ret->options |= SSL_OP_LEGACY_SERVER_CONNECT;
1827 1827
1828 /* Disable SSLv3 by default. */
1829 ret->options |= SSL_OP_NO_SSLv3;
1830
1828 return (ret); 1831 return (ret);
1829err: 1832err:
1830 SSLerr(SSL_F_SSL_CTX_NEW, 1833 SSLerr(SSL_F_SSL_CTX_NEW,