diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-11-08 20:27:17 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-11-08 20:27:17 +0100 |
commit | e7cb8f9b37b4b0d181282064777edbb11953cd0e (patch) | |
tree | e4486bca82e10452b8278c1d4dd8f985014f7ae5 | |
parent | 856baca23ecb4472ada392c0d9aff5f0da315c86 (diff) | |
download | strongswan-e7cb8f9b37b4b0d181282064777edbb11953cd0e.tar.bz2 strongswan-e7cb8f9b37b4b0d181282064777edbb11953cd0e.tar.xz |
added dummy libtls_init() function needed for integrity testing
-rw-r--r-- | src/libtls/tls.c | 8 | ||||
-rw-r--r-- | src/libtls/tls.h | 5 |
2 files changed, 13 insertions, 0 deletions
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 @@ -228,6 +228,11 @@ struct tls_t { }; /** + * Dummy libtls initialization function needed for integrity test + */ +void libtls_init(void); + +/** * Create a tls instance. * * @param is_server TRUE to act as server, FALSE for client |