From 7c4bcdc8478916ce62eb291143f6e84cbca5a2fa Mon Sep 17 00:00:00 2001 From: pottzman Date: Thu, 10 Aug 2023 16:56:58 +1000 Subject: [PATCH] Update cli.cpp --- src/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.cpp b/src/cli.cpp index 53c364b..ea73a68 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -443,7 +443,7 @@ int CLI::BINK2002Generate() { if (options->upgrade == true) bUpgrade = true; - PIDGEN3::BINK2002::Generate(this->eCurve, this->genPoint, this->genOrder, this->privateKey, pChannelID, pAuthInfo, false, this->pKey); + PIDGEN3::BINK2002::Generate(this->eCurve, this->genPoint, this->genOrder, this->privateKey, pChannelID, pAuthInfo, bUpgrade, this->pKey); bool isValid = PIDGEN3::BINK2002::Verify(this->eCurve, this->genPoint, this->pubPoint, this->pKey); if (isValid) {