Permalink
Browse files

inets: Add crypto start check to ssl test cases

  • Loading branch information...
1 parent 58889fe commit 91ec763a0a087516f4bd3de0baf07e326093b93a @IngelaAndin IngelaAndin committed Dec 3, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 lib/inets/test/httpd_SUITE.erl
@@ -222,6 +222,15 @@ init_per_group(ipv6 = _GroupName, Config) ->
_ ->
{skip, "Host does not support IPv6"}
end;
+init_per_group(essl, Config) ->
+ catch crypto:stop(),
+ case (catch crypto:start()) of
+ ok ->
+ Config;
+ _ ->
+ {skip, "Crypto not startable"}
+ end;
+
init_per_group(_GroupName, Config) ->
Config.

0 comments on commit 91ec763

Please sign in to comment.