aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/aes-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/aes-test.c b/scripts/aes-test.c
index df9e8e70b..701d2223b 100644
--- a/scripts/aes-test.c
+++ b/scripts/aes-test.c
@@ -265,6 +265,10 @@ static bool get_next_test_vector(test_vector_t *test)
break;
}
}
+ if (param != PARAM_UNKNOWN)
+ { /* could be that the file ended with a complete test vector */
+ return TRUE;
+ }
return FALSE;
}