diff --git a/bench3.cpp b/bench3.cpp index ac5d9321..7c98661b 100644 --- a/bench3.cpp +++ b/bench3.cpp @@ -426,7 +426,7 @@ void BenchmarkEllipticCurveAlgorithms(double t, double hertz) ECDSA::Signer spriv(cpriv); ECDSA::Verifier spub(spriv); ECDSA_RFC6979::Signer spriv2(cpriv); - ECDSA_RFC6979::Verifier spub2(spriv); + ECDSA_RFC6979::Verifier spub2(spriv2); ECGDSA::Signer spriv3(Test::GlobalRNG(), ASN1::secp256k1()); ECGDSA::Verifier spub3(spriv3); ECDH::Domain ecdhc(ASN1::secp256k1()); @@ -453,7 +453,7 @@ void BenchmarkEllipticCurveAlgorithms(double t, double hertz) ECDSA::Signer spriv(cpriv); ECDSA::Verifier spub(spriv); ECDSA_RFC6979::Signer spriv2(cpriv); - ECDSA_RFC6979::Verifier spub2(spriv); + ECDSA_RFC6979::Verifier spub2(spriv2); ECGDSA::Signer spriv3(Test::GlobalRNG(), ASN1::sect233r1()); ECGDSA::Verifier spub3(spriv3); ECDH::Domain ecdhc(ASN1::sect233r1());