projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: Hotspot 2.0 OSU provider and protocol testing
[mech_eap.git]
/
tests
/
test-rc4.c
diff --git
a/tests/test-rc4.c
b/tests/test-rc4.c
index
6ac2ef3
..
99f5592
100644
(file)
--- a/
tests/test-rc4.c
+++ b/
tests/test-rc4.c
@@
-198,7
+198,7
@@
static const struct rc4_test_vector tests[] = {
}
};
-#define NUM_TESTS
(sizeof(tests) / sizeof(tests[0])
)
+#define NUM_TESTS
ARRAY_SIZE(tests
)
static int run_test(unsigned int i, const u8 *key, size_t key_len,