diff --git a/src/cli.cpp b/src/cli.cpp index 1e1c210..e150e61 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -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);