Blob Blame History Raw
From 0994409fb2f750a987965fa89d70f20d942db8d8 Mon Sep 17 00:00:00 2001
From: Parag A Nemade <pnemade@fedoraproject.org>
Date: Thu, 2 Mar 2017 12:37:33 +0530
Subject: [PATCH] Fix the cipher list string to ensure that it contains
 PROFILE=SYSTEM as default

---
 url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/url.c b/url.c
index 0378913..aa5a27e 100644
--- a/url.c
+++ b/url.c
@@ -327,7 +327,7 @@ openSSLHandle(int sock, char *hostname, char **p_cert)
 	SSL_load_error_strings();
 	if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method())))
 	    goto eend;
-	SSL_CTX_set_cipher_list(ssl_ctx, "DEFAULT:!LOW:!RC4:!EXP");
+	SSL_CTX_set_cipher_list(ssl_ctx, "PROFILE=SYSTEM");
 	option = SSL_OP_ALL;
 	if (ssl_forbid_method) {
 	    if (strchr(ssl_forbid_method, '2'))
-- 
2.9.3