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

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: Moar work Created 6 years, 3 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 516631387d2db9968560c54d2aae155aaa39bc43..b2bcd319576294f45d9d161d461c5d9cf613c8b2 100644
--- a/net/cert/cert_status_flags_list.h
+++ b/net/cert/cert_status_flags_list.h
@@ -24,6 +24,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)
davidben 2014/09/26 20:09:24 This comment is off. The flag is actually set for
+// 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