diff options
author | Jason Copenhaver <jcopenha@typedef.org> | 2015-01-16 16:50:24 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-01-16 16:50:24 -0300 |
commit | 25c4c78e2ddad482dfc9d5a104f76325fcc2f8e5 (patch) | |
tree | 4b6628d38e54a55b6059948ff8bad6b3c13b719b /tests/check_arc.c | |
parent | 7549d0074aa4917e62106ac285b05baa1e76c1e9 (diff) |
Fix compiler warnings on Cygwin and Mac OS X.
* Don't use PIE/PIC on Cygwin/Darwin unless specified as these
platforms don't support it.
* Cleanup warnings for 'make check' build.
* Fix the type issue for getsockopt calls.
* Fix enum warnings in Yahoo libs on Mac OS X.
Diffstat (limited to 'tests/check_arc.c')
-rw-r--r-- | tests/check_arc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check_arc.c b/tests/check_arc.c index 9d913dcd..e9e7d382 100644 --- a/tests/check_arc.c +++ b/tests/check_arc.c @@ -87,6 +87,8 @@ static void check_decod(int l) len = arc_decode( decrypt_tests[i].crypted, decrypt_tests[i].len, &decrypted, password ); + fail_if( len == -1, + "`%s' didn't decrypt properly", decrypt_tests[i].decrypted ); fail_if( strcmp( decrypt_tests[i].decrypted, decrypted ) != 0, "`%s' didn't decrypt properly", decrypt_tests[i].decrypted ); |