diff options
author | Dan Gudmundsson <[email protected]> | 2010-03-16 15:35:58 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-03-16 17:33:40 +0100 |
commit | e2c29e24e0635ed729896f16c1d32fc2437371cf (patch) | |
tree | b1d5e1b3d9930555f6ff567df79306fd8e139c90 /lib/ssl/src | |
parent | 1cebec8de1e63b0d995933ccd5257216a274c7e2 (diff) | |
download | otp-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')
-rw-r--r-- | lib/ssl/src/ssl.appup.src | 5 | ||||
-rw-r--r-- | lib/ssl/src/ssl_certificate_db.erl | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl.appup.src b/lib/ssl/src/ssl.appup.src index 3aea2428c9..fdda65021d 100644 --- a/lib/ssl/src/ssl.appup.src +++ b/lib/ssl/src/ssl.appup.src @@ -8,7 +8,8 @@ {"3.10.4", [{restart_application, ssl}]}, {"3.10.5", [{restart_application, ssl}]}, {"3.10.6", [{restart_application, ssl}]}, - {"3.10.7", [{restart_application, ssl}]} + {"3.10.7", [{restart_application, ssl}]}, + {"3.10.8", [{restart_application, ssl}]} ], [ {"3.10", [{restart_application, ssl}]}, @@ -18,6 +19,6 @@ {"3.10.4", [{restart_application, ssl}]}, {"3.10.5", [{restart_application, ssl}]}, {"3.10.6", [{restart_application, ssl}]}, - {"3.10.7", [{restart_application, ssl}]} + {"3.10.8", [{restart_application, ssl}]} ]}. 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} |