aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/asn1_alt_name.cpp
diff options
context:
space:
mode:
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;