aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_crl.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-01-20 14:49:24 +0100
committerIngela Anderton Andin <[email protected]>2017-01-24 17:41:24 +0100
commit14522f25b9e8944ca427cac61b029e521fe321c6 (patch)
tree2cadc1bad3211cab033dbca28e5af12f9d8b8a62 /lib/ssl/src/ssl_crl.erl
parent306badbd13a70fa232091ca3f7ea4fe92c9cfe24 (diff)
downloadotp-14522f25b9e8944ca427cac61b029e521fe321c6.tar.gz
otp-14522f25b9e8944ca427cac61b029e521fe321c6.tar.bz2
otp-14522f25b9e8944ca427cac61b029e521fe321c6.zip
ssl: Handle more than one DistributionPoint
Diffstat (limited to 'lib/ssl/src/ssl_crl.erl')
-rw-r--r--lib/ssl/src/ssl_crl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_crl.erl b/lib/ssl/src/ssl_crl.erl
index fc60bdba67..0aaa1abb06 100644
--- a/lib/ssl/src/ssl_crl.erl
+++ b/lib/ssl/src/ssl_crl.erl
@@ -44,7 +44,7 @@ trusted_cert_and_path(CRL, issuer_not_found, {Db, DbRef} = DbHandle) ->
{ok, Root, Chain} = ssl_certificate:certificate_chain(OtpCert, Db, DbRef),
{ok, Root, lists:reverse(Chain)};
{error, issuer_not_found} ->
- {ok, unknown_crl_ca, []}
+ {error, unknown_ca_crl}
end.
find_issuer(CRL, {Db,DbRef}) ->