diff options
Diffstat (limited to 'sha_512_224.c')
-rw-r--r-- | sha_512_224.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sha_512_224.c b/sha_512_224.c index 8771f88..a95bf92 100644 --- a/sha_512_224.c +++ b/sha_512_224.c @@ -1,6 +1,7 @@ /* See LICENSE file for copyright and license details. */ -#define TEST -#include "common.h" +#ifdef SUPPORT_SHA2 +# define TEST +# include "common.h" static struct testcase testcases[] = { @@ -12,6 +13,12 @@ static struct testcase testcases[] = { }; +#else +# define TEST_UNSUPPORTED +# include "common.h" +#endif + + int main(void) { |