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/kdf | |
parent | 67fddcd63e065eaf8bafbb15f615cbf203a305bd (diff) |
Deprecate and replace OIDS::lookup
Diffstat (limited to 'src/lib/kdf')
-rw-r--r-- | src/lib/kdf/prf_x942/prf_x942.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kdf/prf_x942/prf_x942.cpp b/src/lib/kdf/prf_x942/prf_x942.cpp index 1e520ab18..3fe0a682f 100644 --- a/src/lib/kdf/prf_x942/prf_x942.cpp +++ b/src/lib/kdf/prf_x942/prf_x942.cpp @@ -91,7 +91,7 @@ size_t X942_PRF::kdf(uint8_t key[], size_t key_len, X942_PRF::X942_PRF(const std::string& oid) { if(OIDS::have_oid(oid)) - m_key_wrap_oid = OIDS::lookup(oid).to_string(); + m_key_wrap_oid = OIDS::str2oid_or_empty(oid).to_string(); else m_key_wrap_oid = oid; } |