Accepting request 700465 from GNOME:Next
New stable rel OBS-URL: https://build.opensuse.org/request/show/700465 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib-networking?expand=0&rev=132
This commit is contained in:
parent
8e6f83309a
commit
8d972eca2d
@ -1,34 +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"));
|
|
||||||
--
|
|
||||||
2.21.0
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d71c6b2faa5ac29100314f08a1be020a2afd0291f025614c0af0d17b14435d92
|
|
||||||
size 184828
|
|
3
glib-networking-2.60.2.tar.xz
Normal file
3
glib-networking-2.60.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c022f3d10f55a5b7c31676fb001b4cb6401db8ab9f6e8418c69de00d0f268732
|
||||||
|
size 184808
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 3 17:15:49 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 2.60.2:
|
||||||
|
+ OpenSSL backend now defaults to system trust store.
|
||||||
|
+ Fix client auth failure error with GnuTLS 3.6.7.
|
||||||
|
- Drop 0001-gnutls-Handle-new-GNUTLS_E_CERTIFICATE_REQUIRED.patch:
|
||||||
|
fixed upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 5 14:47:33 UTC 2019 - Vítězslav Čížek <vcizek@suse.com>
|
Fri Apr 5 14:47:33 UTC 2019 - Vítězslav Čížek <vcizek@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
|
%define gio_real_package %(rpm -q --qf '%%{name}' --whatprovides gio)
|
||||||
Name: glib-networking
|
Name: glib-networking
|
||||||
Version: 2.60.1
|
Version: 2.60.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Network-related GIO modules for glib
|
Summary: Network-related GIO modules for glib
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -26,7 +26,6 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://www.gnome.org
|
URL: https://www.gnome.org
|
||||||
Source0: https://download.gnome.org/sources/glib-networking/2.60/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/glib-networking/2.60/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Patch: 0001-gnutls-Handle-new-GNUTLS_E_CERTIFICATE_REQUIRED.patch
|
|
||||||
|
|
||||||
BuildRequires: ca-certificates-mozilla
|
BuildRequires: ca-certificates-mozilla
|
||||||
# For directory ownership
|
# For directory ownership
|
||||||
@ -56,8 +55,7 @@ Currently, there is only a proxy module based on libproxy.
|
|||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -p1
|
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user