aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509path.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-20 09:42:36 -0500
committerJack Lloyd <[email protected]>2017-12-20 09:42:36 -0500
commitc556cac5b6fc366502ed7f255fcc99918ce152c8 (patch)
treec4ab26edd10dbf9ee3de8753cf6bb3b0763f1bd3 /src/lib/x509/x509path.cpp
parent752c549f8a56b01a77700e13f04988f52fac4d79 (diff)
Fix some shadow and unused parameter warnings
Diffstat (limited to 'src/lib/x509/x509path.cpp')
-rw-r--r--src/lib/x509/x509path.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/x509/x509path.cpp b/src/lib/x509/x509path.cpp
index 88fd578b2..1ee4385fd 100644
--- a/src/lib/x509/x509path.cpp
+++ b/src/lib/x509/x509path.cpp
@@ -717,9 +717,9 @@ PKIX::build_all_certificate_paths(std::vector<std::vector<std::shared_ptr<const
// push a deletion marker on the stack for backtracing later
stack.push_back({std::shared_ptr<const X509_Certificate>(nullptr),false});
- for(const auto trusted : trusted_issuers)
+ for(const auto trusted_cert : trusted_issuers)
{
- stack.push_back({trusted,true});
+ stack.push_back({trusted_cert,true});
}
for(const auto misc : misc_issuers)