From 0006bd1db9a96c294f2da852218d3f8579f422a9 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 4 Aug 2019 08:26:06 -0400 Subject: Reduce usage of oids.h with the addition of some helpers on OID --- src/lib/asn1/asn1_attribute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/asn1/asn1_attribute.cpp') 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& attr_value */ Attribute::Attribute(const std::string& attr_oid, const std::vector& attr_value) : - oid(OIDS::str2oid_or_throw(attr_oid)), + oid(OID::from_string(attr_oid)), parameters(attr_value) {} -- cgit v1.2.3