Fix incorrect assumption

This commit is contained in:
Manuel Thalmann 2023-12-12 19:04:08 +01:00
parent 06783ae22b
commit 01d4232dc5

View file

@ -188,7 +188,7 @@ void aes(uint8_t *in, uint8_t *out, uint8_t *skey)
//****************************
int main(int argc, char* argv[])
{
if (argc > 1) {
if (argc > 2) {
std::cerr << "Invalid number of arguments\n";
exit(EXIT_FAILURE);
}