Skip to content

Commit

Permalink
Added ref to hierarchy
Browse files Browse the repository at this point in the history
Signed-off-by: AssemblyJohn <[email protected]>
  • Loading branch information
AssemblyJohn committed Mar 19, 2024
1 parent 3c668d0 commit 484b892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/evse_security/evse_security.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ OCSPRequestDataList EvseSecurity::get_ocsp_request_data(const std::string& certi

try {
X509CertificateBundle leaf_bundle(certificate_chain, EncodingFormat::PEM);
X509CertificateHierarchy hierarchy = leaf_bundle.get_certficate_hierarchy();
X509CertificateHierarchy &hierarchy = leaf_bundle.get_certficate_hierarchy();

hierarchy.for_each([&](const X509Node& node) {
std::string responder_url = node.certificate.get_responder_url();
Expand Down

0 comments on commit 484b892

Please sign in to comment.