aboutsummaryrefslogtreecommitdiffstats
path: root/sha0.c
diff options
context:
space:
mode:
Diffstat (limited to 'sha0.c')
-rw-r--r--sha0.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sha0.c b/sha0.c
index 5ce216a..3627f61 100644
--- a/sha0.c
+++ b/sha0.c
@@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */
-#define TEST
-#include "common.h"
+#ifdef SUPPORT_SHA0
+# define TEST
+# include "common.h"
static struct testcase testcases[] = {
@@ -8,6 +9,12 @@ static struct testcase testcases[] = {
};
+#else
+# define TEST_UNSUPPORTED
+# include "common.h"
+#endif
+
+
int
main(void)
{