added dummy libtls_init() function needed for integrity testing
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 8 Nov 2011 19:27:17 +0000 (20:27 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 8 Nov 2011 19:27:17 +0000 (20:27 +0100)
src/libtls/tls.c
src/libtls/tls.h

index ea527b1..3941bea 100644 (file)
@@ -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)
 {
index 54b0621..068ba54 100644 (file)
@@ -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