summaryrefslogtreecommitdiff
path: root/tests/certtool-pkcs11.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/certtool-pkcs11.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/certtool-pkcs11.sh')
-rwxr-xr-xtests/certtool-pkcs11.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/certtool-pkcs11.sh b/tests/certtool-pkcs11.sh
index 299083e90c..ccb244666b 100755
--- a/tests/certtool-pkcs11.sh
+++ b/tests/certtool-pkcs11.sh
@@ -115,7 +115,7 @@ verify_certificate_test() {
file=$2
echo -n "* Verifying a certificate... "
- datefudge -s "2015-10-10 00:00:00" \
+ gnutls_timewrapper_standalone static "2015-10-10 00:00:00" \
$CERTTOOL ${ADDITIONAL_PARAM} --verify --load-ca-certificate "$url" --infile "$file" >>"${TMPFILE}" 2>&1
if test $? = 0; then
echo ok