Commit 091ecfad authored by Matt Caswell's avatar Matt Caswell
Browse files

Don't run the TLSv1.3 CCS tests if TLSv1.3 is not enabled

parent 0ca3aea7
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -10,10 +10,11 @@
use OpenSSL::Test::Utils;
use OpenSSL::Test qw/:DEFAULT srctop_file/;

setup("test_tls13ccs");
my $test_name = "test_tls13ccs";
setup($test_name);

plan skip_all => "No TLS/SSL protocols are supported by this OpenSSL build"
    if alldisabled(grep { $_ ne "ssl3" } available_protocols("tls"));
plan skip_all => "$test_name is not supported in this build"
    if disabled("tls1_3");

plan tests => 1;