From 01d4232dc5ef66be10a75a90b0261c9d39f3b929 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 12 Dec 2023 19:04:08 +0100 Subject: [PATCH] Fix incorrect assumption --- aes-32bit/aes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aes-32bit/aes.cpp b/aes-32bit/aes.cpp index e86abc9..2b3d10f 100644 --- a/aes-32bit/aes.cpp +++ b/aes-32bit/aes.cpp @@ -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); }