diff options
Diffstat (limited to 'src/lib/cert/x509/ocsp.cpp')
-rw-r--r-- | src/lib/cert/x509/ocsp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cert/x509/ocsp.cpp b/src/lib/cert/x509/ocsp.cpp index df8df3b39..761c5b436 100644 --- a/src/lib/cert/x509/ocsp.cpp +++ b/src/lib/cert/x509/ocsp.cpp @@ -92,9 +92,9 @@ void check_signature(const std::vector<byte>& tbs_response, if(!trusted_roots.certificate_known(result.trust_root())) // not needed anymore? throw Exception("Certificate chain roots in unknown/untrusted CA"); - const std::vector<X509_Certificate>& cert_path = result.cert_path(); + const std::vector<std::shared_ptr<const X509_Certificate>>& cert_path = result.cert_path(); - check_signature(tbs_response, sig_algo, signature, cert_path[0]); + check_signature(tbs_response, sig_algo, signature, *cert_path[0]); } } |