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

Unified Diff: net/cert/crl_set.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/crl_set_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/crl_set.cc
diff --git a/net/cert/crl_set.cc b/net/cert/crl_set.cc
index 0898557f81bd7aa808c5907024425bbfcc9e2d28..2d4f5c3331ceada7d2b4d892a689ed22049e2ec8 100644
--- a/net/cert/crl_set.cc
+++ b/net/cert/crl_set.cc
@@ -44,11 +44,11 @@ CRLSet::Result CRLSet::CheckSerial(
while (serial.size() > 1 && serial[0] == 0x00)
serial.remove_prefix(1);
- base::hash_map<std::string, size_t>::const_iterator i =
+ base::hash_map<std::string, size_t>::const_iterator crl_index =
crls_index_by_issuer_.find(issuer_spki_hash.as_string());
- if (i == crls_index_by_issuer_.end())
+ if (crl_index == crls_index_by_issuer_.end())
return UNKNOWN;
- const std::vector<std::string>& serials = crls_[i->second].second;
+ const std::vector<std::string>& serials = crls_[crl_index->second].second;
for (std::vector<std::string>::const_iterator i = serials.begin();
i != serials.end(); ++i) {
« no previous file with comments | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/crl_set_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698