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

Unified Diff: net/cert/ct_sct_to_string.cc

Issue 2208073002: DO NOT REVIEW: Certificate Transparency: Extend SCT verify result enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CT: Formatting and compilation fixes. 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/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..13607320c9bda6f77ee35ff69f4c8b6fe18880b7 100644
--- a/net/cert/ct_sct_to_string.cc
+++ b/net/cert/ct_sct_to_string.cc
@@ -62,8 +62,10 @@ 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_INVALID_TIMESTAMP:
+ return "Invalid timestamp";
case SCT_STATUS_OK:
return "Verified";
case SCT_STATUS_NONE:

Powered by Google App Engine
This is Rietveld 408576698