diff options
author | Ingela Anderton Andin <[email protected]> | 2016-08-18 14:58:04 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-08-18 14:58:04 +0200 |
commit | 4ee04136d08b259df55d08add158ed2a5cadb6db (patch) | |
tree | 6d9e4d28339e32d68a1b41e47f5f2c704955870c /lib/ssl/test/ssl_npn_hello_SUITE.erl | |
parent | 7b1cda1f97cd3ec91e7111b22aeffa3b5a6812f1 (diff) | |
download | otp-4ee04136d08b259df55d08add158ed2a5cadb6db.tar.gz otp-4ee04136d08b259df55d08add158ed2a5cadb6db.tar.bz2 otp-4ee04136d08b259df55d08add158ed2a5cadb6db.zip |
ssl: Check precondition for ssl_npn_hello_SUITE
Diffstat (limited to 'lib/ssl/test/ssl_npn_hello_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_npn_hello_SUITE.erl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_npn_hello_SUITE.erl b/lib/ssl/test/ssl_npn_hello_SUITE.erl index 00eb9fee4f..6ae9efe5e9 100644 --- a/lib/ssl/test/ssl_npn_hello_SUITE.erl +++ b/lib/ssl/test/ssl_npn_hello_SUITE.erl @@ -41,6 +41,15 @@ all() -> create_server_hello_with_advertised_protocols_test, create_server_hello_with_no_advertised_protocols_test]. +init_per_suite(Config) -> + catch crypto:stop(), + try crypto:start() of + ok -> + Config + catch _:_ -> + {skip, "Crypto did not start"} + end. + init_per_testcase(_TestCase, Config) -> ssl_test_lib:ct_log_supported_protocol_versions(Config), ct:timetrap({seconds, 5}), |