From b7d5cd90d5eed90023b0266db386515ece911652 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 2 Aug 2011 22:54:28 +0200 Subject: [PATCH] s3:libsmb/clidfs: make use of cli_state_encryption_on() metze --- source3/libsmb/clidfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index e54da6fe895..a445649aeda 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, -- 2.34.1