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

Unified Diff: net/cert/ct_sct_to_string.cc

Issue 2241213002: Distinguish between SCT invalidity reasons in UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing _MAX to be the last value 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
« no previous file with comments | « content/common/ssl_status_serialization_unittest.cc ('k') | net/cert/multi_log_ct_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_sct_to_string.cc
diff --git a/net/cert/ct_sct_to_string.cc b/net/cert/ct_sct_to_string.cc
index f3912a828623240199ee30e628887d997a746aff..4d7449252b4a30ba273b23599114ef28027e35b5 100644
--- a/net/cert/ct_sct_to_string.cc
+++ b/net/cert/ct_sct_to_string.cc
@@ -62,14 +62,14 @@ const std::string StatusToString(SCTVerifyStatus status) {
switch (status) {
case SCT_STATUS_LOG_UNKNOWN:
return "From unknown log";
- case SCT_STATUS_INVALID:
- return "Invalid";
+ case SCT_STATUS_INVALID_SIGNATURE:
+ return "Invalid signature";
case SCT_STATUS_OK:
return "Verified";
case SCT_STATUS_NONE:
return "None";
- case SCT_STATUS_MAX:
- NOTREACHED();
+ case SCT_STATUS_INVALID_TIMESTAMP:
+ return "Invalid timestamp";
}
return "Unknown";
}
« no previous file with comments | « content/common/ssl_status_serialization_unittest.cc ('k') | net/cert/multi_log_ct_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698