aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_certificate_db.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-03-19 12:00:00 +0100
committerBjörn Gustavsson <[email protected]>2010-08-20 08:48:19 +0200
commit4b4409332636b70fb22c3bcaf7e0ba5ef1538bf7 (patch)
tree8c072c6259f79ac26d824ed607518116cddc4256 /lib/ssl/src/ssl_certificate_db.erl
parentcc7d994b9c8db2a8889049e738f43e4f6fbf1d99 (diff)
downloadotp-4b4409332636b70fb22c3bcaf7e0ba5ef1538bf7.tar.gz
otp-4b4409332636b70fb22c3bcaf7e0ba5ef1538bf7.tar.bz2
otp-4b4409332636b70fb22c3bcaf7e0ba5ef1538bf7.zip
ssl: Patch 1110
OTP-8510 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}