diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-04-30 06:44:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:25 -0500 |
commit | ab758f383dfd03f3c51f647829f14ecca6a9807c (patch) | |
tree | 96744c086e437d42d79496fe9bc9e5a777ba0db0 /source4/lib/tls | |
parent | c2cc10c7869221c7f43cbbb151feb4c4db173cb9 (diff) | |
download | samba-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)
Diffstat (limited to 'source4/lib/tls')
-rw-r--r-- | source4/lib/tls/tls.c | 4 |
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) |