Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Issue 173328: Fix a typo IsCertStatusError. It should be IsCertificateError.... (Closed)

Created:
11 years, 4 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews_googlegroups.com, John Grabowski, darin (slow to review), willchan no longer on Chromium
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -3 lines) Patch
M net/socket/ssl_client_socket_mac.cc View 1 4 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
wtc
11 years, 4 months ago (2009-08-25 01:40:51 UTC) #1
Avi (use Gerrit)
11 years, 4 months ago (2009-08-25 01:47:10 UTC) #2
LG

Powered by Google App Engine
This is Rietveld 408576698