diff options
author | Matt Caswell <matt@openssl.org> | 2017-11-30 17:55:06 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-12-14 15:06:38 +0000 |
commit | 091ecfad6e3f157a875f0dec2d913c0c992bf1d9 (patch) | |
tree | 359d20a81a3bc9f481d8f40dbb625214cc2923f5 /test | |
parent | 0ca3aea7d359144681d591eb53961ec915c8de8e (diff) |
Don't run the TLSv1.3 CCS tests if TLSv1.3 is not enabled
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4701)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/90-test_tls13ccs.t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/recipes/90-test_tls13ccs.t b/test/recipes/90-test_tls13ccs.t index 29cff03b86..2ec28ce5ff 100644 --- a/test/recipes/90-test_tls13ccs.t +++ b/test/recipes/90-test_tls13ccs.t @@ -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; |