summaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-12-21 11:25:28 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-12-21 11:25:28 +0100
commit2ac9417383017e1c35fc16f64f16d22763e041af (patch)
tree08a1661b6e5e7435393213f7e35eac4892459c8e /src/cli.c
parentbf9116f01cc83b74344c070fac943155d810a847 (diff)
downloadgnutls-2ac9417383017e1c35fc16f64f16d22763e041af.tar.gz
explicitly set the gnulib functions for recv and send.
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli.c b/src/cli.c
index cb30e5b337..6d1fa5b715 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -1483,6 +1483,8 @@ static int do_handshake(socket_st * socket)
int ret;
gnutls_transport_set_int(socket->session, socket->fd);
+ set_read_funcs(socket->session);
+
do {
gnutls_handshake_set_timeout(socket->session,
GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);