aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/ocsp.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-08-04 06:32:32 -0400
committerJack Lloyd <[email protected]>2019-08-04 16:26:48 -0400
commitb7434defb0769f1f06a7b55f5435ceb690856713 (patch)
tree6e4e86f22dc01b75db8a59ad86f8b7261791a840 /src/lib/x509/ocsp.cpp
parent67fddcd63e065eaf8bafbb15f615cbf203a305bd (diff)
Deprecate and replace OIDS::lookup
Diffstat (limited to 'src/lib/x509/ocsp.cpp')
-rw-r--r--src/lib/x509/ocsp.cpp2
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;