aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/tests-Use-openssl-rehash-instead-of-c_rehash.patch
blob: 5a0edff33c181049097eece63a71a3fba80377de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"