summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_context.c
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-19 18:39:44 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:47 +0200
commitab052c7ff0cdaa7b64c20e2d658e4c46d6c66234 (patch)
tree39c33777a6898f867f43ff8288fbc6721a60c9be /source3/libsmb/libsmb_context.c
parent6c18a66f3e84b8587deb25390e5ee9f6d531a3be (diff)
downloadsamba-ab052c7ff0cdaa7b64c20e2d658e4c46d6c66234.tar.gz
s3:libsmb: get rid of cli_state_encryption_on
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/libsmb_context.c')
-rw-r--r--source3/libsmb/libsmb_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index a8fd2dc45e..502bb0d16a 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -27,7 +27,7 @@
#include "libsmbclient.h"
#include "libsmb_internal.h"
#include "secrets.h"
-
+#include "../libcli/smb/smbXcli_base.h"
/*
* Is the logging working / configfile read ?
@@ -468,7 +468,7 @@ smbc_option_get(SMBCCTX *context,
for (s = context->internal->servers; s; s = s->next) {
num_servers++;
- if (!cli_state_encryption_on(s->cli)) {
+ if (!smb1cli_conn_encryption_on(s->cli->conn)) {
return (void *)false;
}
}