aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ecdh
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-12-11 18:09:37 +0100
committerRenĂ© Korthaus <[email protected]>2016-12-11 18:14:22 +0100
commit90298cbaf7f1136850fec1eae778247ad66e38ad (patch)
treebb1f01c9d2acf44b1d1f4a40ca0f6a7a326ec1bb /src/lib/pubkey/ecdh
parentf5189fbe1efe75182f3aebfd923c9769e3a874d7 (diff)
Public_Key derived class ctors take an std::vector<byte>
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)
Diffstat (limited to 'src/lib/pubkey/ecdh')
-rw-r--r--src/lib/pubkey/ecdh/ecdh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/ecdh/ecdh.h b/src/lib/pubkey/ecdh/ecdh.h
index ce192523e..09c3fc721 100644
--- a/src/lib/pubkey/ecdh/ecdh.h
+++ b/src/lib/pubkey/ecdh/ecdh.h
@@ -26,7 +26,7 @@ class BOTAN_DLL ECDH_PublicKey : public virtual EC_PublicKey
* @param key_bits DER encoded public key bits
*/
ECDH_PublicKey(const AlgorithmIdentifier& alg_id,
- const secure_vector<byte>& key_bits) :
+ const std::vector<byte>& key_bits) :
EC_PublicKey(alg_id, key_bits) {}
/**