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

Unified Diff: net/cert/ct_sct_to_string.cc

Issue 2277653002: Bring back SCT_STATUS_INVALID for cached entries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle INVALID in website settings again 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 4d7449252b4a30ba273b23599114ef28027e35b5..589fd20bcbc95f9955d0ff542752988388fc95bf 100644
--- a/net/cert/ct_sct_to_string.cc
+++ b/net/cert/ct_sct_to_string.cc
@@ -62,6 +62,8 @@ 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:

Powered by Google App Engine
This is Rietveld 408576698