Browse Source

Cherry-pick test suite fix for openssl 3.2. Closes: #1062002

Christoph Biedl 1 month ago
parent
commit
b1848d7c1a

+ 28 - 0
debian/patches/1704751893.rel-26.1-55-g28777066.test-suite-update-for-openssl-3-x.patch

@@ -0,0 +1,28 @@
+Subject: Test suite: Update for OpenSSL 3.x
+Origin: upstream, commit rel-26.1-55-g28777066 <https://github.com/ngircd/ngircd/commit/28777066>
+Author: Alexander Barton <alex@barton.de>
+Date: Mon Jan 8 23:11:33 2024 +0100
+Bug-Debian: https://bugs.debian.org/1062002
+
+--- a/src/testsuite/connect-ssl-cert1-test.e
++++ b/src/testsuite/connect-ssl-cert1-test.e
+@@ -4,7 +4,7 @@
+ spawn openssl s_client -quiet -connect 127.0.0.1:6790
+ expect {
+         timeout { exit 1 }
+-        "*CN = my.first.domain.tld"
++        "*CN*=*my.first.domain.tld"
+ }
+ 
+ sleep 2
+--- a/src/testsuite/connect-ssl-cert2-test.e
++++ b/src/testsuite/connect-ssl-cert2-test.e
+@@ -4,7 +4,7 @@
+ spawn openssl s_client -quiet -connect 127.0.0.1:6790
+ expect {
+         timeout { exit 1 }
+-        "*CN = my.second.domain.tld"
++        "*CN*=*my.second.domain.tld"
+ }
+ 
+ sleep 2

+ 4 - 0
debian/patches/series

@@ -1,2 +1,6 @@
+
+# patches cherry-picked upstream
+1704751893.rel-26.1-55-g28777066.test-suite-update-for-openssl-3-x.patch
+
 # patches that should go upstream
 fix-race-in-testsuite.patch