mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
5d71f7ea29
commit
185c29b14e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user