aboutsummaryrefslogtreecommitdiffstats
path: root/include/elgamal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elgamal.h')
-rw-r--r--include/elgamal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elgamal.h b/include/elgamal.h
index 9a8135d38..bf9199fac 100644
--- a/include/elgamal.h
+++ b/include/elgamal.h
@@ -43,7 +43,7 @@ class BOTAN_DLL ElGamal_PrivateKey : public ElGamal_PublicKey,
public:
SecureVector<byte> decrypt(const byte[], u32bit) const;
- bool check_key(bool) const;
+ bool check_key(RandomNumberGenerator& rng, bool) const;
ElGamal_PrivateKey() {}
ElGamal_PrivateKey(const DL_Group&, RandomNumberGenerator&);