summaryrefslogtreecommitdiff
path: root/elgamal.h
diff options
context:
space:
mode:
Diffstat (limited to 'elgamal.h')
-rw-r--r--elgamal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elgamal.h b/elgamal.h
index ef778ea..9afc30e 100644
--- a/elgamal.h
+++ b/elgamal.h
@@ -78,7 +78,7 @@ template <class BASE, class SCHEME_OPTIONS, class KEY>
class ElGamalObjectImpl : public DL_ObjectImplBase<BASE, SCHEME_OPTIONS, KEY>, public ElGamalBase
{
public:
- size_t FixedMaxPlaintextLength() const {return MaxPlaintextLength(FixedCiphertextLength());}
+ size_t FixedMaxPlaintextLength() const {return this->MaxPlaintextLength(FixedCiphertextLength());}
size_t FixedCiphertextLength() const {return this->CiphertextLength(0);}
const DL_GroupParameters_GFP & GetGroupParameters() const {return this->GetKey().GetGroupParameters();}