aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/asn1_alt_name.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/x509/asn1_alt_name.cpp
parent247df8cae3fbec8d9b608c5dc8b42a4f6bdeef8b (diff)
Reduce usage of oids.h with the addition of some helpers on OID
Diffstat (limited to 'src/lib/x509/asn1_alt_name.cpp')
-rw-r--r--src/lib/x509/asn1_alt_name.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/asn1_alt_name.cpp b/src/lib/x509/asn1_alt_name.cpp
index 60e767543..1e5611c8b 100644
--- a/src/lib/x509/asn1_alt_name.cpp
+++ b/src/lib/x509/asn1_alt_name.cpp
@@ -75,7 +75,7 @@ std::multimap<std::string, std::string> AlternativeName::contents() const
for(auto i = m_othernames.begin(); i != m_othernames.end(); ++i)
{
- multimap_insert(names, OIDS::oid2str_or_raw(i->first), i->second.value());
+ multimap_insert(names, i->first.to_formatted_string(), i->second.value());
}
return names;