summaryrefslogtreecommitdiffstats
path: root/test/recipes/70-test_sslrecords.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/recipes/70-test_sslrecords.t')
-rw-r--r--test/recipes/70-test_sslrecords.t6
1 files changed, 3 insertions, 3 deletions
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;
}