aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl_client.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-19 18:57:20 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-19 18:57:20 +0100
commita72dc2bb447e754295f8efc6f44fc6572f0f8511 (patch)
tree3cd1c6bdc1630cd571740b74b3f1e51dd976fa40 /lib/ssl_client.h
parent25b05b75be1acdd4c96a301839be525809f35a47 (diff)
Add verify argument to ssl_connect() so HTTPS-based stuff is also secure.
(Think of Twitter, but also MSN/Yahoo! authentication.)
Diffstat (limited to 'lib/ssl_client.h')
-rw-r--r--lib/ssl_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl_client.h b/lib/ssl_client.h
index 9ce878a1..d8822143 100644
--- a/lib/ssl_client.h
+++ b/lib/ssl_client.h
@@ -63,7 +63,7 @@ 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...) */
-G_MODULE_EXPORT void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data );
+G_MODULE_EXPORT void *ssl_connect( char *host, int port, gboolean verify, ssl_input_function func, gpointer data );
/* Start an SSL session on an existing fd. Useful for STARTTLS functionality,
for example in Jabber. */