summaryrefslogtreecommitdiff
path: root/tests/gnutls-cli-self-signed.sh
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-09-18 08:36:18 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-09-21 13:19:53 +0200
commitd111b9dcb0f6d437cd070e8776f3f696e1cccc76 (patch)
treebd80ec7e42e08ee9a41f7e1e8b510f52343f8c0f /tests/gnutls-cli-self-signed.sh
parent32929f3d489d0577b7c8e16fe3cee03d7a59fee3 (diff)
downloadgnutls-d111b9dcb0f6d437cd070e8776f3f696e1cccc76.tar.gz
gnutls-cli: enable CRL validation on startup
This also makes the failure in adding CRLs or CAs, a fatal error. Resolves #564 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/gnutls-cli-self-signed.sh')
-rwxr-xr-xtests/gnutls-cli-self-signed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gnutls-cli-self-signed.sh b/tests/gnutls-cli-self-signed.sh
index 7ed1c212db..b5058f69ae 100755
--- a/tests/gnutls-cli-self-signed.sh
+++ b/tests/gnutls-cli-self-signed.sh
@@ -124,7 +124,7 @@ PID=$!
wait_server ${PID}
datefudge "2018-1-1" \
-${VALGRIND} "${CLI}" -p "${PORT}" localhost >${TMPFILE} 2>&1 && \
+${VALGRIND} "${CLI}" -p "${PORT}" localhost >${TMPFILE} 2>&1 </dev/null && \
fail ${PID} "1. handshake should have failed!"