aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_dn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asn1/asn1_dn.cpp')
-rw-r--r--src/asn1/asn1_dn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/asn1_dn.cpp b/src/asn1/asn1_dn.cpp
index 6b08fa1ff..1de8b8c7f 100644
--- a/src/asn1/asn1_dn.cpp
+++ b/src/asn1/asn1_dn.cpp
@@ -67,7 +67,7 @@ void X509_DN::add_attribute(const OID& oid, const std::string& str)
return;
multimap_insert(dn_info, oid, ASN1_String(str));
- dn_bits.destroy();
+ dn_bits.clear();
}
/*