diff options
author | Ingela Anderton Andin <[email protected]> | 2011-03-07 10:02:06 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-03-07 10:02:06 +0100 |
commit | 7d45e56bbe2d084756fceb4e9b8065f74d1a503b (patch) | |
tree | c58e46731cd93ac29d2fb94d0bd7f3d0778ac7eb /lib/ssl/test/ssl_session_cache_SUITE.erl | |
parent | 84884b96de521491d34a19b1b3497d3d76549126 (diff) | |
download | otp-7d45e56bbe2d084756fceb4e9b8065f74d1a503b.tar.gz otp-7d45e56bbe2d084756fceb4e9b8065f74d1a503b.tar.bz2 otp-7d45e56bbe2d084756fceb4e9b8065f74d1a503b.zip |
Workaround for application:start(crypto) inconsistency
Diffstat (limited to 'lib/ssl/test/ssl_session_cache_SUITE.erl')
-rw-r--r-- | lib/ssl/test/ssl_session_cache_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ssl/test/ssl_session_cache_SUITE.erl b/lib/ssl/test/ssl_session_cache_SUITE.erl index b47efe0941..a43b9ab586 100644 --- a/lib/ssl/test/ssl_session_cache_SUITE.erl +++ b/lib/ssl/test/ssl_session_cache_SUITE.erl @@ -47,7 +47,7 @@ %%-------------------------------------------------------------------- init_per_suite(Config0) -> Dog = ssl_test_lib:timetrap(?LONG_TIMEOUT *2), - case application:start(crypto) of + try crypto:start() of ok -> application:start(public_key), ssl:start(), @@ -60,8 +60,8 @@ init_per_suite(Config0) -> Config1 = ssl_test_lib:make_dsa_cert(Config0), Config = ssl_test_lib:cert_options(Config1), - [{watchdog, Dog} | Config]; - _ -> + [{watchdog, Dog} | Config] + catch _:_ -> {skip, "Crypto did not start"} end. |