summaryrefslogtreecommitdiff
path: root/tests/cert-tests/certtool-verify-profiles.sh
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2023-03-05 11:29:17 +0100
committerAndreas Metzler <ametzler@bebt.de>2023-04-04 17:56:05 +0200
commit71fc2905803a6cbd62c42ad611740a96bf018f48 (patch)
treece22012117ba28829998696202078663d3023d66 /tests/cert-tests/certtool-verify-profiles.sh
parentedf92eb4881542de09bb72a9598cf528af25a9b2 (diff)
downloadgnutls-71fc2905803a6cbd62c42ad611740a96bf018f48.tar.gz
Use gnutls_timewrapper for static (frozen time) instances
Also switch setsid/wrapper order Signed-off-by: Andreas Metzler <ametzler@bebt.de>
Diffstat (limited to 'tests/cert-tests/certtool-verify-profiles.sh')
-rwxr-xr-xtests/cert-tests/certtool-verify-profiles.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cert-tests/certtool-verify-profiles.sh b/tests/cert-tests/certtool-verify-profiles.sh
index 91ef81c91e..862b4459c4 100755
--- a/tests/cert-tests/certtool-verify-profiles.sh
+++ b/tests/cert-tests/certtool-verify-profiles.sh
@@ -38,7 +38,7 @@ OUTFILE=out-pkcs7.$$.tmp
skip_if_no_datefudge
echo "Checking chain with insecure leaf"
-datefudge -s "2019-12-19 00:00:00" \
+gnutls_timewrapper_standalone static "2019-12-19 00:00:00" \
${VALGRIND} "${CERTTOOL}" --verify-chain --verify-profile=medium --infile "${srcdir}/data/chain-512-leaf.pem" >${OUTFILE}
rc=$?
@@ -49,7 +49,7 @@ if test "${rc}" != "1"; then
fi
echo "Checking chain with insecure subca"
-datefudge -s "2019-12-19 00:00:00" \
+gnutls_timewrapper_standalone static "2019-12-19 00:00:00" \
${VALGRIND} "${CERTTOOL}" --verify-chain --verify-profile=medium --infile "${srcdir}/data/chain-512-subca.pem" >${OUTFILE}
rc=$?
@@ -61,7 +61,7 @@ fi
echo "Checking chain with insecure ca"
-datefudge -s "2019-12-19 00:00:00" \
+gnutls_timewrapper_standalone static "2019-12-19 00:00:00" \
${VALGRIND} "${CERTTOOL}" --verify-chain --verify-profile=medium --infile "${srcdir}/data/chain-512-ca.pem" >${OUTFILE}
rc=$?