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

Unified Diff: net/base/net_error_list.h

Issue 508823009: Mark SHA-1 as deprecated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_verify_result_sha1
Patch Set: Created 6 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 b805dd6ac7ecb01ddd4248bf412d78fb4973b123..5af1be5cad908b81c476c52f00bdad7cc7bde452 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -436,13 +436,19 @@ NET_ERROR(CERT_WEAK_KEY, -211)
// The certificate claimed DNS names that are in violation of name constraints.
NET_ERROR(CERT_NAME_CONSTRAINT_VIOLATION, -212)
+// The certificate uses a deprecated signature algorithm, was issued before
+// the deprecation sunset date, and is valid for longer than the deprecation
+// date.
+// After the deprecation date, this becomes CERT_WEAK_SIGNATURE_ALGORITHM.
palmer 2014/08/28 21:23:13 "this becomes" --> certs using deprecated algorith
+NET_ERROR(CERT_DEPRECATED_SIGNATURE_ALGORITHM, -213)
+
// 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.
-NET_ERROR(CERT_END, -213)
+NET_ERROR(CERT_END, -214)
// The URL is invalid.
NET_ERROR(INVALID_URL, -300)

Powered by Google App Engine
This is Rietveld 408576698