From 538de80a91da74598ba2449fbbec6de37376a4ce Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 20 Mar 2003 01:24:12 +0000 Subject: various changes for 5.1 --- elgamal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elgamal.h') diff --git a/elgamal.h b/elgamal.h index a2f6ffb7..65446c59 100644 --- a/elgamal.h +++ b/elgamal.h @@ -83,8 +83,8 @@ public: const DL_GroupParameters_GFP & GetGroupParameters() const {return GetKey().GetGroupParameters();} - DecodingResult FixedLengthDecrypt(const byte *cipherText, byte *plainText) const - {return Decrypt(cipherText, FixedCiphertextLength(), plainText);} + DecodingResult FixedLengthDecrypt(RandomNumberGenerator &rng, const byte *cipherText, byte *plainText) const + {return Decrypt(rng, cipherText, FixedCiphertextLength(), plainText);} protected: const DL_KeyAgreementAlgorithm & GetKeyAgreementAlgorithm() const {return *this;} -- cgit v1.2.1