diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-07-19 12:50:13 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-07-22 12:44:25 +0200 |
commit | a2b502ffc3bb569bac470f5924ee8bc9627d23cc (patch) | |
tree | df79972121ff8728d7579d57ebfe411b7c5c4f4d /tests/sni-hostname.sh | |
parent | 3c051065dae8f0b2244ff987acc57ca3405ccc5b (diff) | |
download | gnutls-a2b502ffc3bb569bac470f5924ee8bc9627d23cc.tar.gz |
Remove trailing dot from hostname input
Fixes #532
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'tests/sni-hostname.sh')
-rwxr-xr-x | tests/sni-hostname.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sni-hostname.sh b/tests/sni-hostname.sh index afc2a0099b..4c5f8d2a94 100755 --- a/tests/sni-hostname.sh +++ b/tests/sni-hostname.sh @@ -74,6 +74,9 @@ ${VALGRIND} "${CLI}" -p "${PORT}" 127.0.0.1 ${NOOPTS} --priority "NORMAL" --x509 ${VALGRIND} "${CLI}" -p "${PORT}" 127.0.0.1 --sni-hostname example.com --priority "NORMAL" --x509cafile ${CA1} </dev/null >/dev/null && \ fail ${PID} "5. handshake should have failed!" +${VALGRIND} "${CLI}" -p "${PORT}" 127.0.0.1 --sni-hostname example.com. --verify-hostname example.com. --priority "NORMAL" --x509cafile ${CA1} </dev/null >/dev/null || \ + fail ${PID} "6. handshake should have succeeded!" + kill ${PID} wait |