Home | History | Annotate | Download | only in recipes

Lines Matching refs:session

74 # Test 3: same as 1 but with session tickets disabled.
83 # Test 4: same as 2 but with session tickets disabled.
92 #Test 5: Session resumption extended master secret test
99 (undef, my $session) = tempfile();
101 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
104 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
106 checkmessages(5, "Session resumption extended master secret test", 1, 1, 0);
107 unlink $session;
109 #Test 6: Session resumption extended master secret test original session
110 # omits extension. Server must not resume session.
116 (undef, $session) = tempfile();
118 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
121 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
124 checkmessages(6, "Session resumption extended master secret test", 1, 1, 1);
125 unlink $session;
127 #Test 7: Session resumption extended master secret test resumed session
133 (undef, $session) = tempfile();
135 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
138 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
141 ok(TLSProxy::Message->fail(), "Client inconsistent session resumption");
142 unlink $session;
144 #Test 8: Session resumption extended master secret test resumed session
150 (undef, $session) = tempfile();
152 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
155 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
158 ok(TLSProxy::Message->fail(), "Server inconsistent session resumption 1");
159 unlink $session;
161 #Test 9: Session resumption extended master secret test initial session
167 (undef, $session) = tempfile();
169 $proxy->clientflags("-no_tls1_3 -sess_out ".$session);
172 $proxy->clientflags("-no_tls1_3 -sess_in ".$session);
175 ok(TLSProxy::Message->fail(), "Server inconsistent session resumption 2");
176 unlink $session;