From 17082d27c58b53858c27d7e20079e427365d577a Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 27 Sep 2011 10:18:21 +0200 Subject: Add support for 'make check' and a dummy test. --- tests/t_fticks.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/t_fticks.c (limited to 'tests/t_fticks.c') diff --git a/tests/t_fticks.c b/tests/t_fticks.c new file mode 100644 index 0000000..71a015e --- /dev/null +++ b/tests/t_fticks.c @@ -0,0 +1,11 @@ +#include "../radsecproxy.h" +#include "../fticks.h" + +int +main (int argc, char *argv[]) +{ + uint8_t buf[128]; + + fticks_hashmac((const uint8_t *) "xyzzy", NULL, sizeof(buf), buf); + return 0; +} -- cgit v1.1