diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-06-29 15:15:32 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-19 22:31:46 +0200 |
commit | 95993a1df3c39fd2ea9c037b2f0bfcdf040b7d59 (patch) | |
tree | 7142b7312a929191d21069cbfa9198d73381148f /ssl_backend.h | |
parent | 9a160b796e1a40f9635231e5533ce40d46dba25f (diff) | |
download | openvpn-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_backend.h')
-rw-r--r-- | ssl_backend.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ssl_backend.h b/ssl_backend.h index d7e8361..639d850 100644 --- a/ssl_backend.h +++ b/ssl_backend.h @@ -43,4 +43,25 @@ * Functions implemented in ssl.c for use by the backend SSL library * */ +/* + * + * Functions used in ssl.c which must be implemented by the backend SSL library + * + */ + +/** + * Perform any static initialisation necessary by the library. + * Called on OpenVPN initialisation + */ +void tls_init_lib(); + +/** + * Free any global SSL library-specific data structures. + */ +void tls_free_lib(); +/** + * Clear the underlying SSL library's error state. + */ +void tls_clear_error(); + #endif /* SSL_BACKEND_H_ */ |