diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2025-10-06 21:27:06 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-10-07 19:26:23 +0200 |
commit | f0b614d66f9d186c77984e0875770ab68754f922 (patch) | |
tree | fa0da502c3c2e9a5b1041e1abdb1804993e327c9 | |
parent | 3eb029d5215deaee1d5279be869025b7fb75e5a1 (diff) |
d/patches: Add patch to use "openssl rehash" instead of c_rehash in tests.
Closes: #1117508
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/patches/tests-Use-openssl-rehash-instead-of-c_rehash.patch | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/series b/debian/patches/series index ecb036a..dcaacf5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ Mention-the-Debian-BTS-in-the-manpages.patch Skip-randomized-tests.patch Fix-struct-flock-and-timeval-packing-on-armhf.patch +tests-Use-openssl-rehash-instead-of-c_rehash.patch diff --git a/debian/patches/tests-Use-openssl-rehash-instead-of-c_rehash.patch b/debian/patches/tests-Use-openssl-rehash-instead-of-c_rehash.patch new file mode 100644 index 0000000..5a0edff --- /dev/null +++ b/debian/patches/tests-Use-openssl-rehash-instead-of-c_rehash.patch @@ -0,0 +1,28 @@ +From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> +Date: Mon, 6 Oct 2025 21:27:06 +0200 +Subject: tests: Use "openssl rehash" instead of c_rehash + +The built-in version of c_rehash is "openssl rehash" and is available since the +3.0 series. The c_rehash is a perl script which is considered legacy. + +Switch to "openssl rehash" + +Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> +Bug-Debian: https://bugs.debian.org/1117508 +--- + tests/tls-verify-peer/t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/tls-verify-peer/t b/tests/tls-verify-peer/t +index 50c7445..60bd042 100644 +--- a/tests/tls-verify-peer/t ++++ b/tests/tls-verify-peer/t +@@ -116,7 +116,7 @@ if [ -d "/etc/ssl/certs" ]; then + unverified_peer + fi + +-c_rehash "$capath" ++openssl rehash "$capath" + + # default host (localhost) is the CN (and also subjectAltName) + with_remote_config <<<"SSL_CApath = $capath" |