You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
From 73499eb72f268a0178d88c2144d9961a503f11fc Mon Sep 17 00:00:00 2001
|
|
From: Nicolas Chauvet <kwizart@gmail.com>
|
|
Date: Mon, 24 Sep 2018 18:12:27 +0200
|
|
Subject: [PATCH] gnutls Switch to default (system) priority
|
|
|
|
https://fedoraproject.org/wiki/Packaging:CryptoPolicies
|
|
|
|
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
|
|
---
|
|
libavformat/tls_gnutls.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c
|
|
index e3c43683be..673a18ac6a 100644
|
|
--- a/libavformat/tls_gnutls.c
|
|
+++ b/libavformat/tls_gnutls.c
|
|
@@ -181,7 +181,7 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op
|
|
gnutls_transport_set_pull_function(p->session, gnutls_url_pull);
|
|
gnutls_transport_set_push_function(p->session, gnutls_url_push);
|
|
gnutls_transport_set_ptr(p->session, c->tcp);
|
|
- gnutls_priority_set_direct(p->session, "NORMAL", NULL);
|
|
+ gnutls_set_default_priority (p->session);
|
|
ret = gnutls_handshake(p->session);
|
|
if (ret) {
|
|
ret = print_tls_error(h, ret);
|
|
--
|
|
2.17.2
|
|
|