summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2009-09-11 18:45:58 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2009-09-11 18:45:58 +0100
commit2708fc257679324f67445963319d2bcaa88ced5e (patch)
tree4a349952734f438dd680f61f8137cacb2005056a /examples
parentb657eaa0861e64cc428adce99fa611e16ce0f763 (diff)
Update example connect program to new API for adding CAs.
Diffstat (limited to 'examples')
-rw-r--r--examples/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/connect.c b/examples/connect.c
index be46166..d63474f 100644
--- a/examples/connect.c
+++ b/examples/connect.c
@@ -159,7 +159,7 @@ tcp_start_tls_recv_cb (GObject *source,
g_object_unref (conn);
- ssl_session = wocky_tls_session_new (G_IO_STREAM (tcp), NULL, NULL);
+ ssl_session = wocky_tls_session_new (G_IO_STREAM (tcp));
ssl = wocky_tls_session_handshake (ssl_session, NULL, &error);
if (ssl == NULL)