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

Unified Diff: net/cert/sth_distributor.cc

Issue 1958083002: Certificate Transparency: Fix Pilot log ID comparison. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/sth_distributor.cc
diff --git a/net/cert/sth_distributor.cc b/net/cert/sth_distributor.cc
index 65a471f584d90a13e79c395f5cafe696b9a3f9ca..0b8df2606660cd0e60a47b9756bc7d3d3b5a95fa 100644
--- a/net/cert/sth_distributor.cc
+++ b/net/cert/sth_distributor.cc
@@ -27,7 +27,7 @@ void STHDistributor::NewSTHObserved(const SignedTreeHead& sth) {
FOR_EACH_OBSERVER(STHObserver, observer_list_, NewSTHObserved(sth));
if (sth.log_id.compare(0, sth.log_id.size(), kPilotLogID,
- arraysize(kPilotLogID)) != 0)
+ arraysize(kPilotLogID) - 1) != 0)
return;
const base::TimeDelta sth_age = base::Time::Now() - sth.timestamp;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698