summaryrefslogtreecommitdiff
path: root/tests/resume.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/resume.c')
-rw-r--r--tests/resume.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/resume.c b/tests/resume.c
index c0217b5dc0..953c017388 100644
--- a/tests/resume.c
+++ b/tests/resume.c
@@ -355,6 +355,12 @@ static void verify_server_params(gnutls_session_t session, unsigned counter, str
}
}
+ if (counter > 0) {
+ if (gnutls_session_resumption_requested(session) == 0) {
+ fail("client did not request resumption!\n");
+ }
+ }
+
if (params->no_early_start) {
if (gnutls_session_get_flags(session) & GNUTLS_SFLAGS_EARLY_START) {
fail("early start did happen on %d but was not expected!\n", counter);