Home | History | Annotate | Download | only in recipes

Lines Matching refs:session

72 # Test 3: same as 1 but with session tickets disabled.
81 # Test 4: same as 2 but with session tickets disabled.
90 #Test 5: Session resumption extended master secret test
97 (undef, my $session) = tempfile();
99 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
102 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
104 checkmessages(5, "Session resumption extended master secret test", 1, 1, 0);
105 unlink $session;
107 #Test 6: Session resumption extended master secret test original session
108 # omits extension. Server must not resume session.
114 (undef, $session) = tempfile();
116 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
119 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
122 checkmessages(6, "Session resumption extended master secret test", 1, 1, 1);
123 unlink $session;
125 #Test 7: Session resumption extended master secret test resumed session
131 (undef, $session) = tempfile();
133 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
136 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
139 ok(TLSProxy::Message->fail(), "Client inconsistent session resumption");
140 unlink $session;
142 #Test 8: Session resumption extended master secret test resumed session
148 (undef, $session) = tempfile();
150 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
153 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
156 ok(TLSProxy::Message->fail(), "Server inconsistent session resumption 1");
157 unlink $session;
159 #Test 9: Session resumption extended master secret test initial session
165 (undef, $session) = tempfile();
167 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
170 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
173 ok(TLSProxy::Message->fail(), "Server inconsistent session resumption 2");
174 unlink $session;