diff options
Diffstat (limited to 'test/crypt/sha512c-test.c')
-rw-r--r-- | test/crypt/sha512c-test.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/crypt/sha512c-test.c b/test/crypt/sha512c-test.c index be55b59..9726e95 100644 --- a/test/crypt/sha512c-test.c +++ b/test/crypt/sha512c-test.c @@ -40,9 +40,9 @@ static const struct static int do_test (void) { +#if __UCLIBC_HAS_SHA512_CRYPT_IMPL__ int result = 0; -#if __UCLIBC_HAS_SHA512_CRYPT_IMPL__ int i; for (i = 0; i < ntests; ++i) @@ -56,9 +56,10 @@ do_test (void) result = 1; } } -#endif - return result; +#else + return 23; +#endif } #define TIMEOUT 6 |