summaryrefslogtreecommitdiffstats
path: root/ssl_openssl.h
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-06-29 15:15:32 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-19 22:31:46 +0200
commit95993a1df3c39fd2ea9c037b2f0bfcdf040b7d59 (patch)
tree7142b7312a929191d21069cbfa9198d73381148f /ssl_openssl.h
parent9a160b796e1a40f9635231e5533ce40d46dba25f (diff)
downloadopenvpn-95993a1df3c39fd2ea9c037b2f0bfcdf040b7d59.tar.gz
openvpn-95993a1df3c39fd2ea9c037b2f0bfcdf040b7d59.tar.xz
openvpn-95993a1df3c39fd2ea9c037b2f0bfcdf040b7d59.zip
Refactored SSL initialisation functions
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: Gert Doering <gert@greenie.muc.de> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'ssl_openssl.h')
-rw-r--r--ssl_openssl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl_openssl.h b/ssl_openssl.h
index d412ef2..fb817ae 100644
--- a/ssl_openssl.h
+++ b/ssl_openssl.h
@@ -32,4 +32,12 @@
#include <openssl/ssl.h>
+/**
+ * Allocate space in SSL objects in which to store a struct tls_session
+ * pointer back to parent.
+ */
+extern int mydata_index; /* GLOBAL */
+
+void openssl_set_mydata_index (void);
+
#endif /* SSL_OPENSSL_H_ */