diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-08-27 06:44:02 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-08-27 06:44:02 -0400 |
commit | 54c8819c70807e04f9941c9f2c06056d28711007 (patch) | |
tree | 70f2deb5fabdb48e9361a9d388294be66e3f0f1a /elgamal.h | |
parent | fcbfd68dfbd7270402c38042da233dc1d7fa37a0 (diff) | |
download | cryptopp-git-54c8819c70807e04f9941c9f2c06056d28711007.tar.gz |
Fix ElGamal compile on Linux
Diffstat (limited to 'elgamal.h')
-rw-r--r-- | elgamal.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -215,12 +215,12 @@ struct DL_PrivateKey_ElGamal : public BASE // selected in over [1,p-1], and not [1,q-1] as with some of the
// later GFP algorithms.
- CRYPTOPP_ASSERT(GetAbstractGroupParameters().Validate(rng, level));
- bool pass = GetAbstractGroupParameters().Validate(rng, level);
+ CRYPTOPP_ASSERT(this->GetAbstractGroupParameters().Validate(rng, level));
+ bool pass = this->GetAbstractGroupParameters().Validate(rng, level);
- const Integer &p = GetGroupParameters().GetModulus();
- const Integer &q = GetAbstractGroupParameters().GetSubgroupOrder();
- const Integer &x = GetPrivateExponent();
+ const Integer &p = this->GetGroupParameters().GetModulus();
+ const Integer &q = this->GetAbstractGroupParameters().GetSubgroupOrder();
+ const Integer &x = this->GetPrivateExponent();
// Changed to x < p-1 based on ElGamal's paper and the HAC.
CRYPTOPP_ASSERT(x.IsPositive());
|