diff options
author | Jack Lloyd <[email protected]> | 2017-12-20 09:42:36 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-20 09:42:36 -0500 |
commit | c556cac5b6fc366502ed7f255fcc99918ce152c8 (patch) | |
tree | c4ab26edd10dbf9ee3de8753cf6bb3b0763f1bd3 /src/lib/x509/x509_ext.cpp | |
parent | 752c549f8a56b01a77700e13f04988f52fac4d79 (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.cpp | 10 |
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()) |