DescriptionFix a typo IsCertStatusError. It should be IsCertificateError.
This typo causes us to call GetServerCert at the wrong time. We found
that SSLCopyPeerCertificates may succeed (return noErr) but return a
nil CFArrayRef. So we check for that to avoid a crash.
Finally, errSSLIllegalParam means we received an SSL invalid_parameter
error alert message, rather than an invalid function argument. It
should be mapped to ERR_SSL_PROTOCOL_ERROR.
R=avi
BUG=http://crbug.com/19837
TEST=Visit https://stud.infostud.uniroma1.it:4445/Sest/Log/Corpo.html.
Chromium should not crash.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24209
Patch Set 1 #Patch Set 2 : Map SSL unexpected_message alert message #Patch Set 3 : Upload before checkin #Messages
Total messages: 2 (0 generated)
|