summaryrefslogtreecommitdiff
path: root/repo/system/libretls/test_program.c
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libretls/test_program.c')
-rw-r--r--repo/system/libretls/test_program.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/repo/system/libretls/test_program.c b/repo/system/libretls/test_program.c
new file mode 100644
index 0000000..f8d7332
--- /dev/null
+++ b/repo/system/libretls/test_program.c
@@ -0,0 +1,11 @@
+#include <stdlib.h>
+#include <assert.h>
+#include <tls.h>
+
+int
+main(int argc, const char *argv[])
+{
+ assert(tls_init() == 0);
+
+ return EXIT_SUCCESS;
+}