aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-05-06 11:04:24 +0200
committerIngela Anderton Andin <[email protected]>2019-05-06 11:04:24 +0200
commit3f23d6414f3e740f8731e88b78ca207f8dca4120 (patch)
tree5d1a53f0183f1ea870b2631386853d7b52eb0b49 /lib/ssl
parent627ce4fc5425688840a5db4f1085a923c6503571 (diff)
downloadotp-3f23d6414f3e740f8731e88b78ca207f8dca4120.tar.gz
otp-3f23d6414f3e740f8731e88b78ca207f8dca4120.tar.bz2
otp-3f23d6414f3e740f8731e88b78ca207f8dca4120.zip
ssl: Add necessary compliance check
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/test/openssl_server_cipher_suite_SUITE.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/ssl/test/openssl_server_cipher_suite_SUITE.erl b/lib/ssl/test/openssl_server_cipher_suite_SUITE.erl
index 907de1abe2..6ce34ce7fa 100644
--- a/lib/ssl/test/openssl_server_cipher_suite_SUITE.erl
+++ b/lib/ssl/test/openssl_server_cipher_suite_SUITE.erl
@@ -185,7 +185,13 @@ init_per_group(GroupName, Config) ->
true ->
case ssl_test_lib:supports_ssl_tls_version(GroupName) of
true ->
- do_init_per_group(GroupName, Config);
+ case ssl_test_lib:check_sane_openssl_version(GroupName) of
+ true ->
+ ssl_test_lib:init_tls_version(GroupName, Config),
+ do_init_per_group(GroupName, Config);
+ false ->
+ {skip, openssl_does_not_support_version}
+ end;
false ->
{skip, {openssl_does_not_support, GroupName}}
end;