X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Frecipes%2F70-test_sslrecords.t;h=88cb0223b603ae0f042a38504a4226c8a5867982;hp=10c559e6ba3ddf4677ca6a6b2e351f3b40e80ae0;hb=3295d2423889496e0933b3f9af6dc692c9f9a8f2;hpb=95ea8da1768bf457b021f07cde9a6330827dc8a1 diff --git a/test/recipes/70-test_sslrecords.t b/test/recipes/70-test_sslrecords.t index 10c559e6ba..88cb0223b6 100644 --- a/test/recipes/70-test_sslrecords.t +++ b/test/recipes/70-test_sslrecords.t @@ -149,11 +149,11 @@ ok(TLSProxy::Message->fail(), "Changed record version in TLS1.2"); SKIP: { skip "TLSv1.3 disabled", 6 if disabled("tls1_3"); - #Test 13: Sending a different record version in TLS1.3 should succeed + #Test 13: Sending a different record version in TLS1.3 should fail $proxy->clear(); $proxy->filter(\&change_version); $proxy->start(); - ok(TLSProxy::Message->success(), "Changed record version in TLS1.3"); + ok(TLSProxy::Message->fail(), "Changed record version in TLS1.3"); #Test 14: Sending an unrecognised record type in TLS1.3 should fail $proxy->clear(); @@ -464,7 +464,7 @@ sub change_version my $proxy = shift; # We'll change a version after the initial version neg has taken place - if ($proxy->flight != 2) { + if ($proxy->flight != 1) { return; }