From 885b0bc9b149c00b801253ad6f2fcda0689aab8e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 7 Sep 2024 12:06:25 +0000 Subject: automatic import of gnustep-base --- gnustep-base-use_system-wide_crypto-policies.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 gnustep-base-use_system-wide_crypto-policies.patch (limited to 'gnustep-base-use_system-wide_crypto-policies.patch') diff --git a/gnustep-base-use_system-wide_crypto-policies.patch b/gnustep-base-use_system-wide_crypto-policies.patch new file mode 100644 index 0000000..113d431 --- /dev/null +++ b/gnustep-base-use_system-wide_crypto-policies.patch @@ -0,0 +1,30 @@ +--- a/Source/GSTLS.orig.m 2016-03-09 14:16:16.000000000 +0100 ++++ b/Source/GSTLS.m 2016-08-21 16:46:41.347996519 +0200 +@@ -1745,8 +1745,7 @@ + 0 }; + gnutls_protocol_set_priority(session, proto_prio); + #else +- gnutls_priority_set_direct(session, +- "NORMAL:-VERS-SSL3.0:+VERS-TLS-ALL", NULL); ++ gnutls_set_default_priority (session); + #endif + } + else +@@ -1757,7 +1756,7 @@ + /* By default we disable SSL3.0 as the 'POODLE' attack (Oct 2014) + * renders it insecure. + */ +- gnutls_priority_set_direct(session, "NORMAL:-VERS-SSL3.0", NULL); ++ gnutls_set_default_priority (session); + #endif + } + } +@@ -1774,7 +1773,7 @@ + { + NSLog(@"Invalid GSTLSPriority: %s", err_pos); + NSLog(@"Falling back to NORMAL:-VERS-SSL3.0"); +- gnutls_priority_set_direct(session, "NORMAL:-VERS-SSL3.0", NULL); ++ gnutls_set_default_priority (session); + } + #endif + } -- cgit v1.2.3