diff options
author | Ingela Anderton Andin <[email protected]> | 2012-08-09 15:15:51 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-08-22 14:00:46 +0200 |
commit | 4f68e36b57bf7b2cc608bf1fb5d50486529bff10 (patch) | |
tree | 937e5288965e629e924a95f44625bc4cd7bbe976 /lib/ssl/test/ssl_payload_SUITE.erl | |
parent | a0bd4951be74a5db1c382a7e19432903db10e576 (diff) | |
download | otp-4f68e36b57bf7b2cc608bf1fb5d50486529bff10.tar.gz otp-4f68e36b57bf7b2cc608bf1fb5d50486529bff10.tar.bz2 otp-4f68e36b57bf7b2cc608bf1fb5d50486529bff10.zip |
ssl: Add crypto support check (TLS 1.2 require sha256 support)
Diffstat (limited to 'lib/ssl/test/ssl_payload_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_payload_SUITE.erl | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/ssl/test/ssl_payload_SUITE.erl b/lib/ssl/test/ssl_payload_SUITE.erl index 9633942ac3..c97f97e70b 100644 --- a/lib/ssl/test/ssl_payload_SUITE.erl +++ b/lib/ssl/test/ssl_payload_SUITE.erl @@ -140,13 +140,19 @@ payload_tests() -> init_per_group(GroupName, Config) -> - case ssl_test_lib:is_tls_version(GroupName) of + case ssl_test_lib:is_tls_version(GroupName) of true -> - ssl_test_lib:init_tls_version(GroupName); + case ssl_test_lib:sufficient_crypto_support(GroupName) of + true -> + ssl_test_lib:init_tls_version(GroupName), + Config; + false -> + {skip, "Missing crypto support"} + end; _ -> - ssl:start() - end, - Config. + ssl:start(), + Config + end. end_per_group(_GroupName, Config) -> Config. |