diff options
author | Andreas Metzler <ametzler@bebt.de> | 2023-03-05 11:29:17 +0100 |
---|---|---|
committer | Andreas Metzler <ametzler@bebt.de> | 2023-04-04 17:56:05 +0200 |
commit | 71fc2905803a6cbd62c42ad611740a96bf018f48 (patch) | |
tree | ce22012117ba28829998696202078663d3023d66 /tests/certtool-pkcs11.sh | |
parent | edf92eb4881542de09bb72a9598cf528af25a9b2 (diff) | |
download | gnutls-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-x | tests/certtool-pkcs11.sh | 2 |
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 |