summaryrefslogtreecommitdiff
path: root/user/glib-networking/glib-networking-2.60-new-gnutls-cert-error-fix.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-04 07:02:59 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-04 07:55:07 -0500
commitf1b8ae3d7d7aa17e16fed070763e78dcb77b7e3a (patch)
tree7390275d0dd61fc381dbef8333a2669abb896f40 /user/glib-networking/glib-networking-2.60-new-gnutls-cert-error-fix.patch
parent24879f5637c7c7645c76b99c15f8eef8b4f5c60f (diff)
downloadpackages-f1b8ae3d7d7aa17e16fed070763e78dcb77b7e3a.tar.gz
packages-f1b8ae3d7d7aa17e16fed070763e78dcb77b7e3a.tar.bz2
packages-f1b8ae3d7d7aa17e16fed070763e78dcb77b7e3a.tar.xz
packages-f1b8ae3d7d7aa17e16fed070763e78dcb77b7e3a.zip
user/glib-networking: upgrade to 2.60.2
Diffstat (limited to 'user/glib-networking/glib-networking-2.60-new-gnutls-cert-error-fix.patch')
-rw-r--r--user/glib-networking/glib-networking-2.60-new-gnutls-cert-error-fix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/user/glib-networking/glib-networking-2.60-new-gnutls-cert-error-fix.patch b/user/glib-networking/glib-networking-2.60-new-gnutls-cert-error-fix.patch
deleted file mode 100644
index ab04dae3e..000000000
--- a/user/glib-networking/glib-networking-2.60-new-gnutls-cert-error-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1ce6b40da8ecbf997c5522a592a122e805aa81c4 Mon Sep 17 00:00:00 2001
-From: Michael Catanzaro <mcatanzaro@igalia.com>
-Date: Wed, 3 Apr 2019 18:00:55 -0500
-Subject: [PATCH] gnutls: Handle new GNUTLS_E_CERTIFICATE_REQUIRED
-
-This new error in GnuTLS 3.6.7 should correspond to
-G_TLS_ERROR_CERTIFICATE_REQUIRED. This fixes our client auth tests when
-run with GnuTLS 3.6.7.
-
-Fixes #70
----
- tls/gnutls/gtlsconnection-gnutls.c | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/tls/gnutls/gtlsconnection-gnutls.c b/tls/gnutls/gtlsconnection-gnutls.c
-index 27bbbcd..774d668 100644
---- a/tls/gnutls/gtlsconnection-gnutls.c
-+++ b/tls/gnutls/gtlsconnection-gnutls.c
-@@ -1062,7 +1062,11 @@ end_gnutls_io (GTlsConnectionGnutls *gnutls,
- else
- return 0;
- }
-- else if (status == GNUTLS_E_NO_CERTIFICATE_FOUND)
-+ else if (status == GNUTLS_E_NO_CERTIFICATE_FOUND
-+#ifdef GNUTLS_E_CERTIFICATE_REQUIRED
-+ || status == GNUTLS_E_CERTIFICATE_REQUIRED /* Added in GnuTLS 3.6.7 */
-+#endif
-+ )
- {
- g_set_error_literal (error, G_TLS_ERROR, G_TLS_ERROR_CERTIFICATE_REQUIRED,
- _("TLS connection peer did not send a certificate"));