aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509_ext.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/x509_ext.cpp
parent752c549f8a56b01a77700e13f04988f52fac4d79 (diff)
Fix some shadow and unused parameter warnings
Diffstat (limited to 'src/lib/x509/x509_ext.cpp')
-rw-r--r--src/lib/x509/x509_ext.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/x509/x509_ext.cpp b/src/lib/x509/x509_ext.cpp
index d98818a4c..afb79f6bf 100644
--- a/src/lib/x509/x509_ext.cpp
+++ b/src/lib/x509/x509_ext.cpp
@@ -728,10 +728,12 @@ void Certificate_Policies::contents_to(Data_Store& info, Data_Store&) const
info.add("X509v3.CertificatePolicies", m_oids[i].as_string());
}
-void Certificate_Policies::validate(const X509_Certificate& subject, const X509_Certificate& issuer,
- const std::vector<std::shared_ptr<const X509_Certificate>>& cert_path,
- std::vector<std::set<Certificate_Status_Code>>& cert_status,
- size_t pos)
+void Certificate_Policies::validate(
+ const X509_Certificate& /*subject*/,
+ const X509_Certificate& /*issuer*/,
+ const std::vector<std::shared_ptr<const X509_Certificate>>& /*cert_path*/,
+ std::vector<std::set<Certificate_Status_Code>>& cert_status,
+ size_t pos)
{
std::set<OID> oid_set(m_oids.begin(), m_oids.end());
if(oid_set.size() != m_oids.size())