From a10cbdaf4fb6d11f741464ef162c1ffdeeb926b2 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Fri, 31 Jul 2026 10:24:59 +0900 Subject: pass the bundled CA file to callbackfailures Pass cert.pem using the optional roots file argument instead of relying on the /etc/ssl/cert.pem path. --- tests/x509_callbacks.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/x509_callbacks.sh b/tests/x509_callbacks.sh index 7cc1376..a48e638 100755 --- a/tests/x509_callbacks.sh +++ b/tests/x509_callbacks.sh @@ -27,12 +27,14 @@ fi case "$srcdir" in /*) certs_path="$srcdir/certs" + ca_file="$srcdir/../cert.pem" callback_check="$srcdir/callback.pl" make_dir_roots="$srcdir/make-dir-roots.pl" openssl_conf="$srcdir/openssl.cnf" ;; *) certs_path="`pwd`/$srcdir/certs" + ca_file="`pwd`/$srcdir/../cert.pem" callback_check="`pwd`/$srcdir/callback.pl" make_dir_roots="`pwd`/$srcdir/make-dir-roots.pl" openssl_conf="`pwd`/$srcdir/openssl.cnf" @@ -87,6 +89,6 @@ mkdir "$workdir" cd "$workdir" "$callback_bin" "$certs_path" "$PERL" "$callback_check" callback.out - "$callbackfailures_bin" "$certs_path" + "$callbackfailures_bin" "$certs_path" "$ca_file" "$expirecallback_bin" "$certs_path" ) -- cgit v1.2.3-55-g6feb