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

Unified Diff: net/cert/sct_status_flags.h

Issue 2241213002: Distinguish between SCT invalidity reasons in UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: A patchset that actually works Created 4 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/sct_status_flags.h
diff --git a/net/cert/sct_status_flags.h b/net/cert/sct_status_flags.h
index 123c25c89052acf0ca3e915d57555b452b04617b..41673bd541c661de6b694509b7f7fca9c5a8b616 100644
--- a/net/cert/sct_status_flags.h
+++ b/net/cert/sct_status_flags.h
@@ -21,12 +21,15 @@ enum SCTVerifyStatus {
// The SCT is from an unknown log, so we cannot verify its signature.
SCT_STATUS_LOG_UNKNOWN = 1,
estark 2016/08/15 13:22:08 Maybe leave a comment here to indicate that 2 used
Eran Messeri 2016/08/16 14:17:18 Done, thanks for the text.
- // The SCT is from a known log, but the signature is invalid.
- SCT_STATUS_INVALID = 2,
-
// The SCT is from a known log, and the signature is valid.
SCT_STATUS_OK = 3,
+ // The SCT is from a known log, but the signature is invalid.
+ SCT_STATUS_INVALID_SIGNATURE = 4,
+
+ // The SCT is from a known log, but the timestamp is in the future.
+ SCT_STATUS_INVALID_TIMESTAMP = 5,
+
// Used to bound the enum values.
SCT_STATUS_MAX,
};

Powered by Google App Engine
This is Rietveld 408576698