diff options
author | CoprDistGit <infra@openeuler.org> | 2024-09-07 12:06:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-09-07 12:06:25 +0000 |
commit | 885b0bc9b149c00b801253ad6f2fcda0689aab8e (patch) | |
tree | 22d1e92705dbd2e61b77dfbfb1196545ab2bd61a /gnustep-base-use_system-wide_crypto-policies.patch | |
parent | 40a011668a42382b22d0b5cbd08a8be7a62ec41a (diff) |
automatic import of gnustep-baseopeneuler24.03_LTS
Diffstat (limited to 'gnustep-base-use_system-wide_crypto-policies.patch')
-rw-r--r-- | gnustep-base-use_system-wide_crypto-policies.patch | 30 |
1 files changed, 30 insertions, 0 deletions
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 + } |