Update gnutls patch

el8
Nicolas Chauvet 5 years ago
parent 6c002dc8c0
commit 07f9d56719

@ -1,9 +1,9 @@
From 680849e6b9ced55fe8ac61771fd57e694c9ff79c Mon Sep 17 00:00:00 2001 From 3039aec58203513f29edb03f84471ea941a0c226 Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart@gmail.com> From: Nicolas Chauvet <kwizart@gmail.com>
Date: Mon, 24 Sep 2018 18:28:26 +0200 Date: Mon, 24 Sep 2018 18:28:26 +0200
Subject: [PATCH] Use @SYSTEM wide ciphers for gnutls Subject: [PATCH] Use @SYSTEM wide ciphers for gnutls
Gnutls upstream has support for system Gnutls upstream has support for system defined ciphers list
This is decribed at This is decribed at
https://fedoraproject.org/wiki/Packaging:CryptoPolicies https://fedoraproject.org/wiki/Packaging:CryptoPolicies
Also found on the debian wiki Also found on the debian wiki
@ -15,10 +15,10 @@ Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
1 file changed, 2 insertions(+) 1 file changed, 2 insertions(+)
diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index 1b214358d4..05b4209692 100644 index 7b63cc34c4..3ca665f3d3 100644
--- a/modules/misc/gnutls.c --- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c +++ b/modules/misc/gnutls.c
@@ -768,6 +768,7 @@ static void CloseServer (vlc_tls_creds_t *crd) @@ -768,12 +768,14 @@ static void CloseServer (vlc_tls_creds_t *crd)
"hash functions and compression methods can be selected. " \ "hash functions and compression methods can be selected. " \
"Refer to GNU TLS documentation for detailed syntax.") "Refer to GNU TLS documentation for detailed syntax.")
static const char *const priorities_values[] = { static const char *const priorities_values[] = {
@ -26,8 +26,7 @@ index 1b214358d4..05b4209692 100644
"PERFORMANCE", "PERFORMANCE",
"NORMAL", "NORMAL",
"SECURE128", "SECURE128",
@@ -775,6 +776,7 @@ static const char *const priorities_values[] = { "SECURE256",
"EXPORT",
}; };
static const char *const priorities_text[] = { static const char *const priorities_text[] = {
+ N_("System (default to system crypto ciphers policy)"), + N_("System (default to system crypto ciphers policy)"),
@ -35,5 +34,5 @@ index 1b214358d4..05b4209692 100644
N_("Normal"), N_("Normal"),
N_("Secure 128-bits (exclude 256-bits ciphers)"), N_("Secure 128-bits (exclude 256-bits ciphers)"),
-- --
2.17.2 2.25.4

Loading…
Cancel
Save