diff options
-rw-r--r-- | include/asn1_obj.h | 6 | ||||
-rw-r--r-- | src/asn1_dn.cpp | 2 |
2 files changed, 4 insertions, 4 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; }; /************************************************* diff --git a/src/asn1_dn.cpp b/src/asn1_dn.cpp index d35901852..12225a4b5 100644 --- a/src/asn1_dn.cpp +++ b/src/asn1_dn.cpp @@ -142,7 +142,7 @@ void X509_DN::do_decode(const MemoryRegion<byte>& bits) /************************************************* * Return the BER encoded data, if any * *************************************************/ -SecureVector<byte> X509_DN::get_bits() const +MemoryVector<byte> X509_DN::get_bits() const { return dn_bits; } |