summaryrefslogtreecommitdiff
path: root/tests/t_fticks.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-09-27 10:18:21 +0200
committerLinus Nordberg <linus@nordu.net>2011-09-27 10:18:21 +0200
commit17082d27c58b53858c27d7e20079e427365d577a (patch)
treeb35e6aec8319bb8dac9c593665c90f05f9637613 /tests/t_fticks.c
parentaf81fa74d1920dcb2fee5cad950ba7552b580224 (diff)
Add support for 'make check' and a dummy test.
Diffstat (limited to 'tests/t_fticks.c')
-rw-r--r--tests/t_fticks.c11
1 files changed, 11 insertions, 0 deletions
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;
+}