aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_test_lib.erl
diff options
context:
space:
mode:
authorAndrew Thompson <[email protected]>2013-10-10 02:23:02 -0400
committerHans Nilsson <[email protected]>2014-03-26 10:13:55 +0100
commit8991663e33313233fed9cb7b0149baec1aa32b3f (patch)
treeadc2a51668c9dbd9634bd99e2b7a62a48f3441ee /lib/ssl/test/ssl_test_lib.erl
parentdbb4cdad43a980e65546fdb572bf0f5cf007fd5a (diff)
downloadotp-8991663e33313233fed9cb7b0149baec1aa32b3f.tar.gz
otp-8991663e33313233fed9cb7b0149baec1aa32b3f.tar.bz2
otp-8991663e33313233fed9cb7b0149baec1aa32b3f.zip
Various improvements to CRL handling
* Handle v1 CRLs, with no extensions. * Compare the IDP on a CRL correctly, if present * Don't try to double-decode altnames Tests are also included, and the make_certs testing tool in the SSL application has been greatly extended.
Diffstat (limited to 'lib/ssl/test/ssl_test_lib.erl')
-rw-r--r--lib/ssl/test/ssl_test_lib.erl8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl
index 7ed9adfcd9..1ebccf13ea 100644
--- a/lib/ssl/test/ssl_test_lib.erl
+++ b/lib/ssl/test/ssl_test_lib.erl
@@ -152,7 +152,9 @@ start_client(Args) ->
case lists:member(return_socket, Args) of
true -> { Result, Socket };
false -> Result
- end
+ end;
+ {connect_failed, Reason} ->
+ {connect_failed, Reason}
end.
run_client_init(Opts) ->
@@ -205,7 +207,9 @@ run_client(Opts) ->
end;
{error, Reason} ->
ct:log("Client: connection failed: ~p ~n", [Reason]),
- Pid ! {self(), {error, Reason}}
+%%% FIXME: Which one of the two following???
+ Pid ! {self(), {error, Reason}},
+ Pid ! {connect_failed, Reason}
end.
close(Pid) ->