[neon/backports-jammy/libgwenhywfar/Neon/release] debian/patches: drop patches that have been upstreamed

Carlos De Maine null at kde.org
Tue Aug 22 00:12:16 BST 2023


Git commit d432e8029f95f9c43a79879d46b9cf8678628b93 by Carlos De Maine.
Committed on 22/08/2023 at 01:12.
Pushed by carlosdem into branch 'Neon/release'.

drop patches that have been upstreamed

D  +0    -38   debian/patches/0001-Remove-duplicate-hostname-check.patch
D  +0    -1    debian/patches/series

https://invent.kde.org/neon/backports-jammy/libgwenhywfar/-/commit/d432e8029f95f9c43a79879d46b9cf8678628b93

diff --git a/debian/patches/0001-Remove-duplicate-hostname-check.patch b/debian/patches/0001-Remove-duplicate-hostname-check.patch
deleted file mode 100644
index 024f28aa..00000000
--- a/debian/patches/0001-Remove-duplicate-hostname-check.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Micha Lenk <micha at lenk.info>
-Date: Sun, 16 Apr 2023 15:12:45 +0200
-Bug: https://www.aquamaniac.de/rdm/issues/295
-Bug-Debian: https://bugs.debian.org/1034577
-Origin: upstream, https://www.aquamaniac.de/rdm/projects/gwenhywfar/repository/revisions/a901426cfa0d555b7920dc39358af293dedafe85
-Last-Update: 2023-04-18
-Subject: Remove duplicate hostname check
-
-The hostname in the certificate is checked already a few lines above by calling
-gnutls_x509_crt_check_hostname(). No need to check it here again.
-
-This also fixes the bad hostname validation in cases where the used server name
-is only available in the SubjectAltName extension of the certificate, and not
-in its Distinguished Name (DN).
-
-Fixes #295.
----
- src/sio/syncio_tls.c | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/src/sio/syncio_tls.c b/src/sio/syncio_tls.c
-index 6c81d58a..34c35cd7 100644
---- a/src/sio/syncio_tls.c
-+++ b/src/sio/syncio_tls.c
-@@ -1041,10 +1041,6 @@ int GWEN_SyncIo_Tls_GetPeerCert(GWEN_SYNCIO *sio)
-       rv=gnutls_x509_crt_get_dn_by_oid(cert, GNUTLS_OID_X520_COMMON_NAME, 0, 0, buffer1, &size);
-       if (rv==0) {
-         GWEN_SslCertDescr_SetCommonName(certDescr, buffer1);
--        if (xio->hostName && strcasecmp(xio->hostName, buffer1)!=0) {
--          DBG_INFO(GWEN_LOGDOMAIN, "Owner of certificate does not match hostname");
--          errFlags|=GWEN_SSL_CERT_FLAGS_BAD_HOSTNAME;
--        }
-       }
- 
-       size=sizeof(buffer1)-1;
--- 
-2.30.2
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index e111deae..00000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Remove-duplicate-hostname-check.patch


More information about the Neon-commits mailing list