diff options
Diffstat (limited to 't/sha0.c')
-rw-r--r-- | t/sha0.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/t/sha0.c b/t/sha0.c new file mode 100644 index 0000000..3627f61 --- /dev/null +++ b/t/sha0.c @@ -0,0 +1,22 @@ +/* See LICENSE file for copyright and license details. */ +#ifdef SUPPORT_SHA0 +# define TEST +# include "common.h" + + +static struct testcase testcases[] = { + {1, 0, "abc", "0164b8a914cd2a5e74c4f7ff082c4d97f1edf880"} +}; + + +#else +# define TEST_UNSUPPORTED +# include "common.h" +#endif + + +int +main(void) +{ + TEST_MAIN("SHA0", SHA0); +} |