aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-06-27 11:28:11 +0200
committerPéter Dimitrov <[email protected]>2019-06-27 11:28:11 +0200
commitaabe0523708ff131cd46f10a93aa3458a4125bdf (patch)
treea2744effcc8c2a4ca4b699ec2a09d34458650dae /lib
parente83550c4b4cc4371673d1fc43839a5e034081df4 (diff)
parent7f5839f979b44bb07fefe7f5a6ae64a6a2a189c8 (diff)
downloadotp-aabe0523708ff131cd46f10a93aa3458a4125bdf.tar.gz
otp-aabe0523708ff131cd46f10a93aa3458a4125bdf.tar.bz2
otp-aabe0523708ff131cd46f10a93aa3458a4125bdf.zip
Merge branch 'peterdmv/ssl/fix-ssl-basic-suite' into maint
* peterdmv/ssl/fix-ssl-basic-suite: ssl: Fix ssl_basic_SUITE
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/test/ssl_basic_SUITE.erl15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/ssl/test/ssl_basic_SUITE.erl b/lib/ssl/test/ssl_basic_SUITE.erl
index 0cdfea0ac2..f61f688589 100644
--- a/lib/ssl/test/ssl_basic_SUITE.erl
+++ b/lib/ssl/test/ssl_basic_SUITE.erl
@@ -309,10 +309,17 @@ init_per_group(GroupName, Config) when GroupName == basic_tls;
GroupName == options;
GroupName == basic;
GroupName == session;
- GroupName == error_handling_tests_tls;
- GroupName == tls13_test_group
- ->
- ssl_test_lib:clean_tls_version(Config);
+ GroupName == error_handling_tests_tls ->
+ ssl_test_lib:clean_tls_version(Config);
+%% Do not automatically configure TLS version for the 'tlsv1.3' group
+init_per_group('tlsv1.3' = GroupName, Config) ->
+ case ssl_test_lib:sufficient_crypto_support(GroupName) of
+ true ->
+ ssl:start(),
+ Config;
+ false ->
+ {skip, "Missing crypto support"}
+ end;
init_per_group(GroupName, Config) ->
ssl_test_lib:clean_tls_version(Config),
case ssl_test_lib:is_tls_version(GroupName) andalso ssl_test_lib:sufficient_crypto_support(GroupName) of