summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-02 22:54:28 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-03 09:01:39 +0200
commitb7d5cd90d5eed90023b0266db386515ece911652 (patch)
tree95006abf769a5e3865166bd67d5ae2dc201e3eeb /source3/libsmb
parentf854209996491b34b7326c956d512f3d77db600e (diff)
downloadsamba-b7d5cd90d5eed90023b0266db386515ece911652.tar.gz
samba-b7d5cd90d5eed90023b0266db386515ece911652.tar.bz2
samba-b7d5cd90d5eed90023b0266db386515ece911652.zip
s3:libsmb/clidfs: make use of cli_state_encryption_on()
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clidfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index e54da6fe89..a445649aed 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -857,7 +857,7 @@ NTSTATUS cli_resolve_path(TALLOC_CTX *ctx,
"IPC$",
dfs_auth_info,
false,
- (rootcli->trans_enc_state != NULL),
+ cli_state_encryption_on(rootcli),
cli_state_protocol(rootcli),
0,
0x20,
@@ -908,7 +908,7 @@ NTSTATUS cli_resolve_path(TALLOC_CTX *ctx,
share,
dfs_auth_info,
false,
- (rootcli->trans_enc_state != NULL),
+ cli_state_encryption_on(rootcli),
cli_state_protocol(rootcli),
0,
0x20,