summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-04-30 06:44:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:25 -0500
commitab758f383dfd03f3c51f647829f14ecca6a9807c (patch)
tree96744c086e437d42d79496fe9bc9e5a777ba0db0
parentc2cc10c7869221c7f43cbbb151feb4c4db173cb9 (diff)
downloadsamba-ab758f383dfd03f3c51f647829f14ecca6a9807c.tar.gz
samba-ab758f383dfd03f3c51f647829f14ecca6a9807c.tar.bz2
samba-ab758f383dfd03f3c51f647829f14ecca6a9807c.zip
r15357: Fix the build on systems without GNUTLS.
Andrew Bartlett (This used to be commit 2cd2e524e6e1acb2e2921e32c5551f528aa04bf4)
-rw-r--r--source4/lib/tls/tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/tls/tls.c b/source4/lib/tls/tls.c
index 7c129b573c..5fd80e383a 100644
--- a/source4/lib/tls/tls.c
+++ b/source4/lib/tls/tls.c
@@ -547,12 +547,12 @@ struct tls_context *tls_init_client(struct socket_context *sock,
NTSTATUS tls_socket_recv(struct tls_context *tls, void *buf, size_t wantlen,
size_t *nread)
{
- return socket_recv((struct socket_context *)tls, buf, wantlen, nread, 0);
+ return socket_recv((struct socket_context *)tls, buf, wantlen, nread);
}
NTSTATUS tls_socket_send(struct tls_context *tls, const DATA_BLOB *blob, size_t *sendlen)
{
- return socket_send((struct socket_context *)tls, blob, sendlen, 0);
+ return socket_send((struct socket_context *)tls, blob, sendlen);
}
BOOL tls_enabled(struct tls_context *tls)