diff options
author | Jack Lloyd <[email protected]> | 2019-08-04 06:32:32 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-08-04 16:26:48 -0400 |
commit | b7434defb0769f1f06a7b55f5435ceb690856713 (patch) | |
tree | 6e4e86f22dc01b75db8a59ad86f8b7261791a840 /src/lib/x509/ocsp.cpp | |
parent | 67fddcd63e065eaf8bafbb15f615cbf203a305bd (diff) |
Deprecate and replace OIDS::lookup
Diffstat (limited to 'src/lib/x509/ocsp.cpp')
-rw-r--r-- | src/lib/x509/ocsp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/ocsp.cpp b/src/lib/x509/ocsp.cpp index 249ce7817..b119c4490 100644 --- a/src/lib/x509/ocsp.cpp +++ b/src/lib/x509/ocsp.cpp @@ -164,7 +164,7 @@ Certificate_Status_Code Response::verify_signature(const X509_Certificate& issue std::unique_ptr<Public_Key> pub_key(issuer.subject_public_key()); const std::vector<std::string> sig_info = - split_on(OIDS::lookup(m_sig_algo.get_oid()), '/'); + split_on(OIDS::oid2str_or_throw(m_sig_algo.get_oid()), '/'); if(sig_info.size() != 2 || sig_info[0] != pub_key->algo_name()) return Certificate_Status_Code::OCSP_RESPONSE_INVALID; |