Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Support dtls 1.3 downgrade mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
fwh-dc committed Jul 22, 2024
1 parent 88ac0c3 commit 7159121
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/recipes/70-test_tls13downgrade.t
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@ sub run_tests



#Test 4: Client falls back from (D)TLSv1.3 (server does not support the
# fallback SCSV)
$proxy->clear();
$testtype = FALLBACK_FROM_TLS_1_3;
$proxy->clientflags("-fallback_scsv -max_protocol ".$proto1_2);
$proxy->start();
my $alert = TLSProxy::Message->alert();
ok(TLSProxy::Message->fail()
&& !$alert->server()
&& $alert->description() == TLSProxy::Message::AL_DESC_ILLEGAL_PARAMETER,
"Fallback from ".$proto1_3);
#Test 4: Client falls back from (D)TLSv1.3 (server does not support the
# fallback SCSV)
$proxy->clear();
$testtype = FALLBACK_FROM_TLS_1_3;
$proxy->clientflags("-fallback_scsv -max_protocol ".$proto1_2);
$proxy->start();
my $alert = TLSProxy::Message->alert();
ok(TLSProxy::Message->fail()
&& !$alert->server()
&& $alert->description() == TLSProxy::Message::AL_DESC_ILLEGAL_PARAMETER,
"Fallback from ".$proto1_3);


SKIP: {
Expand Down

0 comments on commit 7159121

Please sign in to comment.