summaryrefslogtreecommitdiff
path: root/extra/libretls
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libretls')
-rw-r--r--extra/libretls/test_program.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/libretls/test_program.c b/extra/libretls/test_program.c
new file mode 100644
index 0000000..f8d7332
--- /dev/null
+++ b/extra/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;
+}