Fix incorrect assumption
This commit is contained in:
parent
06783ae22b
commit
01d4232dc5
|
@ -188,7 +188,7 @@ void aes(uint8_t *in, uint8_t *out, uint8_t *skey)
|
||||||
//****************************
|
//****************************
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
if (argc > 1) {
|
if (argc > 2) {
|
||||||
std::cerr << "Invalid number of arguments\n";
|
std::cerr << "Invalid number of arguments\n";
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue