summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2019-10-10 12:55:37 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2019-10-10 12:55:37 +0000
commit11f80530f209d0cf410a7ed5960f8bec8a4d27aa (patch)
tree6a41dd7e7e6602a47fa206e6266bf2945caa068f /tests
parent8faa86ab6a0f0a7f242762a7b11f68edaf2ce48a (diff)
parentafa6e340c084542ef416afc9aaaa6dd0329f5507 (diff)
downloadgnutls-11f80530f209d0cf410a7ed5960f8bec8a4d27aa.tar.gz
Merge branch 'tmp-ext-mandatory' into 'master'
session tickets: parse extension during session resumption Closes #841 See merge request gnutls/gnutls!1087
Diffstat (limited to 'tests')
-rwxr-xr-xtests/gnutls-cli-resume.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/gnutls-cli-resume.sh b/tests/gnutls-cli-resume.sh
index fe7ed1e029..38ac076efa 100755
--- a/tests/gnutls-cli-resume.sh
+++ b/tests/gnutls-cli-resume.sh
@@ -98,6 +98,23 @@ for i in "$WAITPID";do
test $? != 0 && exit 1
done
+echo "Checking whether session resumption works reliably under TLS1.2 (no tickets)"
+PRIORITY="NORMAL:-VERS-ALL:+VERS-TLS1.2:%NO_TICKETS"
+WAITPID=""
+
+i=0
+while [ $i -lt 10 ]
+do
+ run_server_test "${PRIORITY}" $i &
+ WAITPID="$WAITPID $!"
+ i=`expr $i + 1`
+done
+
+for i in "$WAITPID";do
+ wait $i
+ test $? != 0 && exit 1
+done
+
kill ${PID}
wait