From e2c29e24e0635ed729896f16c1d32fc2437371cf Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Tue, 16 Mar 2010 15:35:58 +0000 Subject: OTP-8510 ssl crash Fixed a crash in the certificate certification part. --- lib/ssl/doc/src/notes.xml | 15 +++++++++++++++ lib/ssl/src/ssl.appup.src | 5 +++-- lib/ssl/src/ssl_certificate_db.erl | 2 ++ lib/ssl/vsn.mk | 5 +++-- 4 files changed, 23 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/ssl/doc/src/notes.xml b/lib/ssl/doc/src/notes.xml index 4265445d23..2dd11bc88e 100644 --- a/lib/ssl/doc/src/notes.xml +++ b/lib/ssl/doc/src/notes.xml @@ -31,6 +31,21 @@

This document describes the changes made to the SSL application.

+
SSL 3.10.9 + +
Fixed Bugs and Malfunctions + + +

+ Fixed a crash in the certificate certification part.

+

+ Own Id: OTP-8510 Aux Id: seq11525

+
+
+
+ +
+
SSL 3.10.8
Fixed Bugs and Malfunctions 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} diff --git a/lib/ssl/vsn.mk b/lib/ssl/vsn.mk index 7c038e5818..bf67fcd257 100644 --- a/lib/ssl/vsn.mk +++ b/lib/ssl/vsn.mk @@ -17,9 +17,10 @@ # %CopyrightEnd% # -SSL_VSN = 3.10.8 +SSL_VSN = 3.10.9 +TICKETS = OTP-8510 -TICKETS = OTP-8372 OTP-8441 OTP-8459 +#TICKETS_3.10.8 = OTP-8372 OTP-8441 OTP-8459 #TICKETS_3.10.7 = OTP-8260 OTP-8218 OTP-8250 #TICKETS_3.10.6 = OTP-8275 -- cgit v1.2.3