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