diff --git a/src/libtls/tls.c b/src/libtls/tls.c index ea527b122..3941bea26 100644 --- a/src/libtls/tls.c +++ b/src/libtls/tls.c @@ -192,6 +192,14 @@ struct private_tls_t { size_t headpos; }; +/** + * Described in header. + */ +void libtls_init(void) +{ + /* empty */ +} + METHOD(tls_t, process, status_t, private_tls_t *this, void *buf, size_t buflen) { diff --git a/src/libtls/tls.h b/src/libtls/tls.h index 54b0621b5..068ba542c 100644 --- a/src/libtls/tls.h +++ b/src/libtls/tls.h @@ -227,6 +227,11 @@ struct tls_t { void (*destroy)(tls_t *this); }; +/** + * Dummy libtls initialization function needed for integrity test + */ +void libtls_init(void); + /** * Create a tls instance. *