aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_attribute.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-08-04 08:26:06 -0400
committerJack Lloyd <[email protected]>2019-08-04 16:26:50 -0400
commit0006bd1db9a96c294f2da852218d3f8579f422a9 (patch)
tree15600a4e8369eb167be052e8343c58dcb6693a3a /src/lib/asn1/asn1_attribute.cpp
parent247df8cae3fbec8d9b608c5dc8b42a4f6bdeef8b (diff)
Reduce usage of oids.h with the addition of some helpers on OID
Diffstat (limited to 'src/lib/asn1/asn1_attribute.cpp')
-rw-r--r--src/lib/asn1/asn1_attribute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asn1/asn1_attribute.cpp b/src/lib/asn1/asn1_attribute.cpp
index 1f07bbd4b..3106dda70 100644
--- a/src/lib/asn1/asn1_attribute.cpp
+++ b/src/lib/asn1/asn1_attribute.cpp
@@ -25,7 +25,7 @@ Attribute::Attribute(const OID& attr_oid, const std::vector<uint8_t>& attr_value
*/
Attribute::Attribute(const std::string& attr_oid,
const std::vector<uint8_t>& attr_value) :
- oid(OIDS::str2oid_or_throw(attr_oid)),
+ oid(OID::from_string(attr_oid)),
parameters(attr_value)
{}