aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpttls
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpttls')
-rw-r--r--src/libpttls/pt_tls.c8
-rw-r--r--src/libpttls/pt_tls.h9
2 files changed, 17 insertions, 0 deletions
diff --git a/src/libpttls/pt_tls.c b/src/libpttls/pt_tls.c
index 0fee343b8..034bf6c50 100644
--- a/src/libpttls/pt_tls.c
+++ b/src/libpttls/pt_tls.c
@@ -17,6 +17,14 @@
#include <utils/debug.h>
+/**
+ * Described in header.
+ */
+void libpttls_init(void)
+{
+ /* empty */
+}
+
/*
* PT-TNC Message format:
* 1 2 3
diff --git a/src/libpttls/pt_tls.h b/src/libpttls/pt_tls.h
index 7384cf2d5..0f1f124a8 100644
--- a/src/libpttls/pt_tls.h
+++ b/src/libpttls/pt_tls.h
@@ -111,4 +111,13 @@ bio_reader_t* pt_tls_read(tls_socket_t *tls, u_int32_t *vendor,
bool pt_tls_write(tls_socket_t *tls, bio_writer_t *writer,
pt_tls_message_type_t type, u_int32_t identifier);
+/**
+ * @}
+ * @addtogroup libpttls
+ * @{
+ *
+ * Dummy libpttls initialization function needed for integrity test
+ */
+void libpttls_init(void);
+
#endif /** PT_TLS_H_ @}*/