Added MD4, MD5, SHA hash tests
This commit is contained in:
parent
bdb4437a16
commit
5458401020
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user