Lines Matching refs:extensions
17 our @EXPORT = qw(@handmessages @extensions checkhandshake);
66 our @extensions = ();
133 $extensions[$extloop][3] != 0;
135 $extchnum = 2 if $extensions[$extloop][0] != TLSProxy::Message::MT_CLIENT_HELLO
137 $extshnum = 2 if $extensions[$extloop][0] != TLSProxy::Message::MT_SERVER_HELLO
139 next if $extensions[$extloop][0] == TLSProxy::Message::MT_CLIENT_HELLO
141 next if $extensions[$extloop][0] == TLSProxy::Message::MT_SERVER_HELLO
143 next if ($message->mt() != $extensions[$extloop][0]);
144 next if ($message->server() != $extensions[$extloop][2]);
208 for (my $extloop = 0, $extcount = 0; $extensions[$extloop][3] != 0;
213 $extchnum = 2 if $extensions[$extloop][0] != TLSProxy::Message::MT_CLIENT_HELLO
215 $extshnum = 2 if $extensions[$extloop][0] != TLSProxy::Message::MT_SERVER_HELLO
217 next if $extensions[$extloop][0] == TLSProxy::Message::MT_CLIENT_HELLO
219 next if $extensions[$extloop][0] == TLSProxy::Message::MT_SERVER_HELLO
221 next if ($message->mt() != $extensions[$extloop][0]);
222 next if ($message->server() != $extensions[$extloop][2]);
223 ok (($extensions[$extloop][3] & $exttype) == 0
224 || defined ($msgexts->{$extensions[$extloop][1]}),
226 ." Extension: ".($extensions[$extloop][3] & $exttype).", "
228 $extcount++ if (($extensions[$extloop][3] & $exttype) != 0);