aboutsummaryrefslogtreecommitdiffstats
path: root/include/asn1_obj.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-06-11 06:29:08 +0000
committerlloyd <[email protected]>2007-06-11 06:29:08 +0000
commitd9ae4f2f0a9fc56ad9da579ebc2498a9cd1154be (patch)
treed8443185c7c576fb6624808a9cc1fc8697b118ec /include/asn1_obj.h
parente397c60e515c1ed44e65e8b37b89586acc231c35 (diff)
We don't need to use locked memory in the X.509 distinguished name.
Diffstat (limited to 'include/asn1_obj.h')
-rw-r--r--include/asn1_obj.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asn1_obj.h b/include/asn1_obj.h
index a9dbd7df2..46ba5c678 100644
--- a/include/asn1_obj.h
+++ b/include/asn1_obj.h
@@ -24,7 +24,7 @@ class Attribute : public ASN1_Object
void decode_from(class BER_Decoder&);
OID oid;
- SecureVector<byte> parameters;
+ MemoryVector<byte> parameters;
Attribute() {}
Attribute(const OID&, const MemoryRegion<byte>&);
@@ -99,14 +99,14 @@ class X509_DN : public ASN1_Object
static std::string deref_info_field(const std::string&);
void do_decode(const MemoryRegion<byte>&);
- SecureVector<byte> get_bits() const;
+ MemoryVector<byte> get_bits() const;
X509_DN();
X509_DN(const std::multimap<OID, std::string>&);
X509_DN(const std::multimap<std::string, std::string>&);
private:
std::multimap<OID, ASN1_String> dn_info;
- SecureVector<byte> dn_bits;
+ MemoryVector<byte> dn_bits;
};
/*************************************************