From 5283f5059b14d63ed0ed54c8384890320fbb9ec6 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jun 2004 08:28:09 +0000 Subject: port to GCC 3.4 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@168 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- dh.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dh.h') diff --git a/dh.h b/dh.h index 641d508..86bf607 100644 --- a/dh.h +++ b/dh.h @@ -61,18 +61,18 @@ public: if (FIPS_140_2_ComplianceEnabled()) { - SecByteBlock privateKey2(PrivateKeyLength()); - GeneratePrivateKey(rng, privateKey2); + SecByteBlock privateKey2(this->PrivateKeyLength()); + this->GeneratePrivateKey(rng, privateKey2); - SecByteBlock publicKey2(PublicKeyLength()); + SecByteBlock publicKey2(this->PublicKeyLength()); Base::GeneratePublicKey(rng, privateKey2, publicKey2); - SecByteBlock agreedValue(AgreedValueLength()), agreedValue2(AgreedValueLength()); - Agree(agreedValue, privateKey, publicKey2); - Agree(agreedValue2, privateKey2, publicKey); + SecByteBlock agreedValue(this->AgreedValueLength()), agreedValue2(this->AgreedValueLength()); + this->Agree(agreedValue, privateKey, publicKey2); + this->Agree(agreedValue2, privateKey2, publicKey); if (agreedValue != agreedValue2) - throw SelfTestFailure(AlgorithmName() + ": pairwise consistency test failed"); + throw SelfTestFailure(this->AlgorithmName() + ": pairwise consistency test failed"); } } -- cgit v1.2.1