Update cli.cpp

This commit is contained in:
pottzman 2023-08-10 17:27:03 +10:00 committed by GitHub
parent de659846d4
commit 63fbbd83ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,7 +385,7 @@ int CLI::BINK1998Generate() {
// Specify whether an upgrade version or not
bool bUpgrade = false;
if (options->upgrade == true)
if (options.upgrade == true)
bUpgrade = true;
for (int i = 0; i < this->total; i++) {
@ -440,7 +440,7 @@ int CLI::BINK2002Generate() {
// Specify whether an upgrade version or not
bool bUpgrade = false;
if (options->upgrade == true)
if (options.upgrade == true)
bUpgrade = true;
PIDGEN3::BINK2002::Generate(this->eCurve, this->genPoint, this->genOrder, this->privateKey, pChannelID, pAuthInfo, bUpgrade, this->pKey);