Commit 185c29b1 authored by Matt Caswell's avatar Matt Caswell
Browse files

test_sslcbcpadding only makes sense <TLS1.3



We may get failures if we run it in TLS1.3, and it makes no sense anyway
so force TLS1.2

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 5d71f7ea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ ok(TLSProxy::Message->success(), "Maximally-padded record test");
# Test that invalid padding is rejected.
foreach my $offset (@test_offsets) {
    $proxy->clear();
    $proxy->serverflags("-tls1_2");
    $bad_padding_offset = $offset;
    $proxy->start();
    ok(TLSProxy::Message->fail(), "Invalid padding byte $bad_padding_offset");