diff options
Diffstat (limited to 'src/pubkey/dh/dh.h')
-rw-r--r-- | src/pubkey/dh/dh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pubkey/dh/dh.h b/src/pubkey/dh/dh.h index bf02ffdb9..c670399d8 100644 --- a/src/pubkey/dh/dh.h +++ b/src/pubkey/dh/dh.h @@ -78,7 +78,8 @@ class BOTAN_DLL DH_PrivateKey : public DH_PublicKey, class BOTAN_DLL DH_KA_Operation : public PK_Ops::Key_Agreement { public: - DH_KA_Operation(const DH_PrivateKey& key); + DH_KA_Operation(const DH_PrivateKey& key, + RandomNumberGenerator& rng); secure_vector<byte> agree(const byte w[], size_t w_len); private: |