Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: net/base/net_error_list.h

Issue 20628006: Reject certificates that are valid for too long. (Closed) Base URL: svn://
Patch Set: Don't use arithmetic expressions in shell script. Created 6 years, 1 month 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 89fbfff08c1cc302367f84a938bf0c2685718c8e..4b61e0e311ae23ba50972d626513d387e0510e6e 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -444,13 +444,16 @@ NET_ERROR(CERT_WEAK_KEY, -211)
// The certificate claimed DNS names that are in violation of name constraints.
+// The certificate's validity period is too long.
// Add new certificate error codes here.
// Update the value of CERT_END whenever you add a new certificate error
// code.
// The value immediately past the last certificate error code.
// The URL is invalid.

Powered by Google App Engine
This is Rietveld 408576698