diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 18:43:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 18:43:57 +0200 |
commit | e65912f8b2a6fa966b1ba45360070cf9f25568b4 (patch) | |
tree | 7fd84c87041f86ba24c03cacd0aa0c656ef88d33 /test/crypt/sha512c-test.c | |
parent | 7988979a722b4cdf287b2093956a76a3f19b9897 (diff) |
rework most tests to work as standalone package
Diffstat (limited to 'test/crypt/sha512c-test.c')
-rw-r--r-- | test/crypt/sha512c-test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/crypt/sha512c-test.c b/test/crypt/sha512c-test.c index c829242..be55b59 100644 --- a/test/crypt/sha512c-test.c +++ b/test/crypt/sha512c-test.c @@ -41,6 +41,8 @@ static int do_test (void) { int result = 0; + +#if __UCLIBC_HAS_SHA512_CRYPT_IMPL__ int i; for (i = 0; i < ntests; ++i) @@ -54,6 +56,7 @@ do_test (void) result = 1; } } +#endif return result; } |