diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-02-16 12:20:03 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-02-16 12:20:03 +0000 |
commit | 2799ff94059f496b59420d04ec4f41f67aab2b9d (patch) | |
tree | ba48c74a46c8d162472ce822b3b39b8a4476df2b /tests | |
parent | eeb85a8a880fefe655eb31b6322136b61ee969e2 (diff) |
Fixed broken check in check_arc.c
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check_arc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/check_arc.c b/tests/check_arc.c index 989a0a66..a430f899 100644 --- a/tests/check_arc.c +++ b/tests/check_arc.c @@ -61,14 +61,15 @@ struct 0xb6, 0x92, 0x59, 0xe4, 0xf9, 0xc1, 0x7a, 0xf6, 0xf3, 0x18, 0xea, 0x28, 0x73, 0x6d, 0xb3, 0x0a, 0x6f, 0x0a, 0x2b, 0x43, 0x57, 0xe9, 0x3e, 0x63 }, 24, "OSCAR is creepy..." - } + }, + { "", 0, NULL } }; static void check_decod(int l) { int i; - for( i = 0; clear_tests[i]; i++ ) + for( i = 0; decrypt_tests[i].len; i++ ) { tcase_fn_start (decrypt_tests[i].decrypted, __FILE__, __LINE__); char *decrypted; |