summaryrefslogtreecommitdiff
path: root/validat7.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'validat7.cpp')
-rw-r--r--validat7.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/validat7.cpp b/validat7.cpp
index f97911bd..a406650d 100644
--- a/validat7.cpp
+++ b/validat7.cpp
@@ -314,7 +314,7 @@ bool ValidateECP_Agreement()
{
ECDH<ECP>::Domain ecdhc(ASN1::secp192r1());
ECMQV<ECP>::Domain ecmqvc(ASN1::secp192r1());
- bool pass = SimpleKeyAgreementValidate(ecdhc) && pass;
+ bool pass = SimpleKeyAgreementValidate(ecdhc);
pass = AuthenticatedKeyAgreementValidate(ecmqvc) && pass;
std::cout << "Turning on point compression..." << std::endl;
@@ -330,7 +330,7 @@ bool ValidateEC2N_Agreement()
{
ECDH<EC2N>::Domain ecdhc(ASN1::sect193r1());
ECMQV<EC2N>::Domain ecmqvc(ASN1::sect193r1());
- bool pass = SimpleKeyAgreementValidate(ecdhc) && pass;
+ bool pass = SimpleKeyAgreementValidate(ecdhc);
pass = AuthenticatedKeyAgreementValidate(ecmqvc) && pass;
std::cout << "Turning on point compression..." << std::endl;