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

Unified Diff: net/cert/cert_status_flags_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/cert/cert_status_flags_list.h
diff --git a/net/cert/cert_status_flags_list.h b/net/cert/cert_status_flags_list.h
index 869f95d30430edf06d6faa8aeb8e3b471fcf5a06..305b58533373a143c868f801ab813ce0cdcc0aec 100644
--- a/net/cert/cert_status_flags_list.h
+++ b/net/cert/cert_status_flags_list.h
@@ -25,6 +25,9 @@ CERT_STATUS_FLAG(WEAK_KEY, 1 << 11);
// 1 << 12 was used for CERT_STATUS_WEAK_DH_KEY
CERT_STATUS_FLAG(PINNED_KEY_MISSING, 1 << 13);
CERT_STATUS_FLAG(NAME_CONSTRAINT_VIOLATION, 1 << 14);
+// Deprecated means "Valid beyond the deprecation period" (e.g. SHA-1 in 2017)
palmer 2014/08/28 21:23:13 Nit: Punctuation
+// If used after the deprecation period, it becomes WEAK_SIGNATURE_ALGORITHM
+CERT_STATUS_FLAG(DEPRECATED_SIGNATURE_ALGORITHM, 1 << 15);
// Bits 16 to 31 are for non-error statuses.
CERT_STATUS_FLAG(IS_EV, 1 << 16);

Powered by Google App Engine
This is Rietveld 408576698