Fix test_sslextension if TLSv1.2 has been disabled

A skip rule was skipping the wrong number of tests.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9442)
This commit is contained in:
Matt Caswell 2019-07-23 15:12:29 +01:00
parent 20946b9465
commit 53890ea27c

View file

@ -201,7 +201,7 @@ $proxy->start();
ok($fatal_alert, "Duplicate ServerHello extension");
SKIP: {
skip "TLS <= 1.2 disabled", 3 if $no_below_tls13;
skip "TLS <= 1.2 disabled", 2 if $no_below_tls13;
#Test 3: Sending a zero length extension block should pass
$proxy->clear();