From 9455f8b386e066039b4382a21f475e06c2cc3419 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 19 Aug 2013 10:38:47 +0200 Subject: [PATCH] aes-test: Support test vectors at the end of a file --- scripts/aes-test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/aes-test.c b/scripts/aes-test.c index df9e8e7..701d222 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; } -- 2.7.4