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

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: sleevi comments 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
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..3e5152d77db95018b08d5f66e8215f7947dc697a 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 no X509Certificate object is available. This
+// error is fatal.
+NET_ERROR(SSL_SERVER_CERT_BAD_FORMAT, -167)
+
// Certificate error codes
//
// The values of certificate error codes must be consecutive.

Powered by Google App Engine
This is Rietveld 408576698