aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asn1/asn1_print.cpp')
-rw-r--r--src/lib/asn1/asn1_print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/asn1/asn1_print.cpp b/src/lib/asn1/asn1_print.cpp
index 5c05d6589..14f5b71a9 100644
--- a/src/lib/asn1/asn1_print.cpp
+++ b/src/lib/asn1/asn1_print.cpp
@@ -152,11 +152,11 @@ void ASN1_Formatter::decode(std::ostream& output,
std::string out = OIDS::lookup(oid);
if(out.empty())
{
- out = oid.as_string();
+ out = oid.to_string();
}
else
{
- out += " [" + oid.as_string() + "]";
+ out += " [" + oid.to_string() + "]";
}
output << format(type_tag, class_tag, level, length, out);