summaryrefslogtreecommitdiff
path: root/tests/server-weak-keys.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server-weak-keys.sh')
-rwxr-xr-xtests/server-weak-keys.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server-weak-keys.sh b/tests/server-weak-keys.sh
index 7ae7890eec..2eef393eb7 100755
--- a/tests/server-weak-keys.sh
+++ b/tests/server-weak-keys.sh
@@ -57,11 +57,11 @@ launch_server --echo --priority "NORMAL" --x509keyfile ${KEY1} --x509certfile ${
PID=$!
wait_server ${PID}
-timeout 1800 datefudge "2019-12-20" \
+gnutls_timewrapper_standalone "2019-12-20" timeout 1800 \
"${CLI}" -d 4 -p "${PORT}" localhost --x509cafile ${CERT1} --priority NORMAL:-VERS-TLS-ALL:+VERS-TLS1.2 </dev/null && \
fail ${PID} "1. handshake with RSA should have failed!"
-timeout 1800 datefudge "2019-12-20" \
+gnutls_timewrapper_standalone "2019-12-20" timeout 1800 \
"${CLI}" -d 4 -p "${PORT}" localhost --x509cafile ${CERT1} --priority NORMAL </dev/null && \
fail ${PID} "2. handshake with RSA should have failed!"