aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl_client.h
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-17 02:39:39 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-17 02:39:39 +0100
commitba5add72f824504a21eb780cae638c3ea2166ba0 (patch)
treedb16826012c15c1fe2b682a4f3b2d514d41d7aaf /lib/ssl_client.h
parentfd9fa52e0014459079444bd7bfff7a40eef4e27a (diff)
explicitly initialize ssl in order to avoid gnutls and libotr fighting over the global state of libgcrypt
Diffstat (limited to 'lib/ssl_client.h')
-rw-r--r--lib/ssl_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssl_client.h b/lib/ssl_client.h
index dcbf9a01..44fd658c 100644
--- a/lib/ssl_client.h
+++ b/lib/ssl_client.h
@@ -46,6 +46,9 @@ extern int ssl_errno;
typedef gboolean (*ssl_input_function)(gpointer, void*, b_input_condition);
+/* Perform any global initialization the SSL library might need. */
+G_MODULE_EXPORT void ssl_init( void );
+
/* Connect to host:port, call the given function when the connection is
ready to be used for SSL traffic. This is all done asynchronously, no
blocking I/O! (Except for the DNS lookups, for now...) */