aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_dn.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-08 00:03:15 +0000
committerlloyd <[email protected]>2010-09-08 00:03:15 +0000
commit995277d11e900475aff1cc418021569968394590 (patch)
treeee36518274c423b970aa8a4dcc1cbee98cc8f1e1 /src/asn1/asn1_dn.cpp
parent02ed6ebc954683cd2a25a81b6e707ab481e41e26 (diff)
Rename MemoryRegion::destroy to MemoryRegion::clear to match STL
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();
}
/*