aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/dh/dh.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-11 14:00:29 -0500
committerJack Lloyd <[email protected]>2016-12-11 14:00:29 -0500
commit60fe514a6b2990728cfa22e24dc340629024a6cd (patch)
tree2eabb05c440c98318fc7c52bebb0975fb5202ddd /src/lib/pubkey/dh/dh.h
parent75a9e078c42e237409b100be097032548f2974fe (diff)
parent90298cbaf7f1136850fec1eae778247ad66e38ad (diff)
Merge GH #770 Public_Key constructors take std::vector for buffers
Diffstat (limited to 'src/lib/pubkey/dh/dh.h')
-rw-r--r--src/lib/pubkey/dh/dh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/dh/dh.h b/src/lib/pubkey/dh/dh.h
index 7d126c749..3b70d7149 100644
--- a/src/lib/pubkey/dh/dh.h
+++ b/src/lib/pubkey/dh/dh.h
@@ -27,10 +27,10 @@ class BOTAN_DLL DH_PublicKey : public virtual DL_Scheme_PublicKey
/**
* Create 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
*/
DH_PublicKey(const AlgorithmIdentifier& alg_id,
- const secure_vector<byte>& key_bits) :
+ const std::vector<byte>& key_bits) :
DL_Scheme_PublicKey(alg_id, key_bits, DL_Group::ANSI_X9_42) {}
/**