strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8972c72
)
aes-test: Support test vectors at the end of a file
author
Tobias Brunner
<tobias@strongswan.org>
Mon, 19 Aug 2013 08:38:47 +0000
(10:38 +0200)
committer
Andreas Steffen
<andreas.steffen@strongswan.org>
Sat, 24 Aug 2013 14:22:51 +0000
(16:22 +0200)
scripts/aes-test.c
patch
|
blob
|
history
diff --git
a/scripts/aes-test.c
b/scripts/aes-test.c
index
df9e8e7
..
701d222
100644
(file)
--- 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;
}