aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_certificate_db.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-03-16 15:35:58 +0000
committerErlang/OTP <[email protected]>2010-03-16 17:33:40 +0100
commite2c29e24e0635ed729896f16c1d32fc2437371cf (patch)
treeb1d5e1b3d9930555f6ff567df79306fd8e139c90 /lib/ssl/src/ssl_certificate_db.erl
parent1cebec8de1e63b0d995933ccd5257216a274c7e2 (diff)
downloadotp-e2c29e24e0635ed729896f16c1d32fc2437371cf.tar.gz
otp-e2c29e24e0635ed729896f16c1d32fc2437371cf.tar.bz2
otp-e2c29e24e0635ed729896f16c1d32fc2437371cf.zip
OTP-8510 ssl crash
Fixed a crash in the certificate certification part.
Diffstat (limited to 'lib/ssl/src/ssl_certificate_db.erl')
-rw-r--r--lib/ssl/src/ssl_certificate_db.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_certificate_db.erl b/lib/ssl/src/ssl_certificate_db.erl
index adae92530a..b8c3c6f6b7 100644
--- a/lib/ssl/src/ssl_certificate_db.erl
+++ b/lib/ssl/src/ssl_certificate_db.erl
@@ -159,6 +159,8 @@ issuer_candidate(no_candidate) ->
case ets:first(Db) of
'$end_of_table' ->
no_more_candidates;
+ {file, _} = Key ->
+ issuer_candidate(Key);
Key ->
[Cert] = lookup(Key, Db),
{Key, Cert}