diff --git a/elgamal.h b/elgamal.h index ef778eaa..9afc30ee 100644 --- a/elgamal.h +++ b/elgamal.h @@ -78,7 +78,7 @@ template class ElGamalObjectImpl : public DL_ObjectImplBase, 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();}