summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2014-10-15 02:34:26 +0000
committerdes <des@FreeBSD.org>2014-10-15 02:34:26 +0000
commit95a6b7a20f253763d228b85f03fb7eaec3723288 (patch)
treebd9bcd98e4217a512a01fd17fff068747f31d4f3
parent792eee494c392e294ca6540a2e6a7b6cb0972a3a (diff)
downloadFreeBSD-src-95a6b7a20f253763d228b85f03fb7eaec3723288.zip
FreeBSD-src-95a6b7a20f253763d228b85f03fb7eaec3723288.tar.gz
Drop support for SSLv3.
MFC after: 1 week
-rw-r--r--lib/libfetch/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c
index a6fc47c..498ef48 100644
--- a/lib/libfetch/common.c
+++ b/lib/libfetch/common.c
@@ -820,7 +820,7 @@ fetch_ssl(conn_t *conn, const struct url *URL, int verbose)
SSL_load_error_strings();
- conn->ssl_meth = SSLv23_client_method();
+ conn->ssl_meth = TLSv1_client_method();
conn->ssl_ctx = SSL_CTX_new(conn->ssl_meth);
SSL_CTX_set_mode(conn->ssl_ctx, SSL_MODE_AUTO_RETRY);
OpenPOWER on IntegriCloud