diff options
author | Dan Gudmundsson <[email protected]> | 2010-03-19 12:00:00 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-08-20 08:48:19 +0200 |
commit | 4b4409332636b70fb22c3bcaf7e0ba5ef1538bf7 (patch) | |
tree | 8c072c6259f79ac26d824ed607518116cddc4256 /lib/ssl/src | |
parent | cc7d994b9c8db2a8889049e738f43e4f6fbf1d99 (diff) | |
download | otp-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')
-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} |