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

Unified Diff: net/base/net_error_list.h

Issue 1286793002: Treat failure to parse certificates as SSL protocol errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/localized_error.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index a57cd493da0c1dad582ef9ff25ca034e1679162a..502f5ac8b2bb983e1fbc2a1f4b115106cf96ab61 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -347,6 +347,11 @@ NET_ERROR(SSL_FALLBACK_BEYOND_MINIMUM_VERSION, -165)
// problem.
NET_ERROR(ICANN_NAME_COLLISION, -166)
+// The SSL server presented a certificate which could not be decoded. This is
+// not a certificate error code as now X509Certificate object is available. This
Ryan Sleevi 2015/08/11 23:25:25 'code as now' -> 'code, as no'
davidben 2015/08/12 21:40:02 Done.
+// error is fatal and may not be clicked though.
Ryan Sleevi 2015/08/11 23:25:25 'fatal and may not be clicked through' -> 'fatal,
davidben 2015/08/12 21:40:02 Done.
+NET_ERROR(SSL_SERVER_CERT_BAD_FORMAT, -167)
+
// Certificate error codes
//
// The values of certificate error codes must be consecutive.
« no previous file with comments | « chrome/common/localized_error.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698