Added MD4, MD5, SHA hash tests

This commit is contained in:
Chris Conlon 2011-12-14 10:55:19 -08:00
parent bdb4437a16
commit 5458401020
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,8 @@ noinst_PROGRAMS += tests/unit
tests_unit_SOURCES = \
tests/unit.c \
tests/api.c \
tests/suites.c
tests/suites.c \
tests/hash.c
tests_unit_CFLAGS = $(AM_CFLAGS)
tests_unit_LDADD = src/libcyassl.la
tests_unit_DEPENDENCIES = src/libcyassl.la

View File

@ -9,5 +9,8 @@ int main(int argc, char** argv)
if (ApiTest() != 0)
printf("api test failed\n");
if (HashTest() != 0)
printf("hash test failed\n");
return 0;
}