aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/elgamal/elgamal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/elgamal/elgamal.h')
-rw-r--r--src/lib/pubkey/elgamal/elgamal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/elgamal/elgamal.h b/src/lib/pubkey/elgamal/elgamal.h
index 0c440df00..a316d9c50 100644
--- a/src/lib/pubkey/elgamal/elgamal.h
+++ b/src/lib/pubkey/elgamal/elgamal.h
@@ -72,7 +72,7 @@ class BOTAN_PUBLIC_API(2,0) ElGamal_PrivateKey final : public ElGamal_PublicKey,
*/
ElGamal_PrivateKey(RandomNumberGenerator& rng,
const DL_Group& group,
- const BigInt& priv_key = 0);
+ const BigInt& priv_key = BigInt::zero());
std::unique_ptr<Public_Key> public_key() const override;