diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-08-19 10:38:47 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-08-24 16:22:51 +0200 |
commit | 9455f8b386e066039b4382a21f475e06c2cc3419 (patch) | |
tree | 2d81a4cee7d7f0d1cb9f7e1c85dbda40d8061a2a /scripts | |
parent | 8972c72237bd0243b3f0c5e6b5ae2ffc1071c4bf (diff) | |
download | strongswan-9455f8b386e066039b4382a21f475e06c2cc3419.tar.bz2 strongswan-9455f8b386e066039b4382a21f475e06c2cc3419.tar.xz |
aes-test: Support test vectors at the end of a file
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/aes-test.c | 4 |
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; } |