From 90298cbaf7f1136850fec1eae778247ad66e38ad Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Sun, 11 Dec 2016 18:09:37 +0100 Subject: Public_Key derived class ctors take an std::vector Changes all the Public_Key derived classes ctors to take a std::vector instead of a secure_vector for the DER encoded public key bits. There is no point in transporting a public key in secure storage. (GH #768) --- src/lib/pubkey/ecgdsa/ecgdsa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/pubkey/ecgdsa') diff --git a/src/lib/pubkey/ecgdsa/ecgdsa.h b/src/lib/pubkey/ecgdsa/ecgdsa.h index df5b0e73f..5e0040fca 100644 --- a/src/lib/pubkey/ecgdsa/ecgdsa.h +++ b/src/lib/pubkey/ecgdsa/ecgdsa.h @@ -31,10 +31,10 @@ class BOTAN_DLL ECGDSA_PublicKey : public virtual EC_PublicKey /** * Load a public key. * @param alg_id the X.509 algorithm identifier - * @param key_bits X.509 subject public key info structure + * @param key_bits DER encoded public key bits */ ECGDSA_PublicKey(const AlgorithmIdentifier& alg_id, - const secure_vector& key_bits) : + const std::vector& key_bits) : EC_PublicKey(alg_id, key_bits) {} /** -- cgit v1.2.3