diff options
Diffstat (limited to 'src/elgamal.cpp')
-rw-r--r-- | src/elgamal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elgamal.cpp b/src/elgamal.cpp index bcb8a6cc0..95062cc53 100644 --- a/src/elgamal.cpp +++ b/src/elgamal.cpp @@ -104,9 +104,9 @@ SecureVector<byte> ElGamal_PrivateKey::decrypt(const byte in[], /************************************************* * Check Private ElGamal Parameters * *************************************************/ -bool ElGamal_PrivateKey::check_key(bool strong) const +bool ElGamal_PrivateKey::check_key(RandomNumberGenerator& rng, bool strong) const { - if(!DL_Scheme_PrivateKey::check_key(strong)) + if(!DL_Scheme_PrivateKey::check_key(rng, strong)) return false; if(!strong) |