summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-15 16:15:18 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-15 16:17:45 +0200
commit28e3d099165ba64eb0987d74dd87816ad6207a6a (patch)
treebf904aaaea0535f2a9af413a42bf74e1e377c1e9 /source3/libsmb
parentbd5445ee4f663d18197dbb01078cc21342dd5045 (diff)
downloadsamba-28e3d099165ba64eb0987d74dd87816ad6207a6a.tar.gz
samba-28e3d099165ba64eb0987d74dd87816ad6207a6a.tar.bz2
samba-28e3d099165ba64eb0987d74dd87816ad6207a6a.zip
s3:libsmb: s/cli_encryption_on/cli_state_encryption_on()
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/async_smb.c4
-rw-r--r--source3/libsmb/clireadwrite.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index cb4e63035b..8966794ab6 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -500,7 +500,7 @@ static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req,
return status;
}
- if (cli_encryption_on(state->cli)) {
+ if (cli_state_encryption_on(state->cli)) {
char *buf, *enc_buf;
buf = (char *)iov_concat(talloc_tos(), iov, iov_count);
@@ -674,7 +674,7 @@ static NTSTATUS cli_state_dispatch_smb1(struct cli_state *cli,
return NT_STATUS_INVALID_NETWORK_RESPONSE;
}
- if (cli_encryption_on(cli) && (CVAL(inbuf, 0) == 0)) {
+ if (cli_state_encryption_on(cli) && (CVAL(inbuf, 0) == 0)) {
uint16_t enc_ctx_num;
status = get_enc_ctx_num(inbuf, &enc_ctx_num);
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c
index bbe6a81276..1ee2196b76 100644
--- a/source3/libsmb/clireadwrite.c
+++ b/source3/libsmb/clireadwrite.c
@@ -47,7 +47,7 @@ static size_t cli_read_max_bufsize(struct cli_state *cli)
return min_space;
}
- if (cli_encryption_on(cli)) {
+ if (cli_state_encryption_on(cli)) {
return min_space;
}
@@ -100,7 +100,7 @@ static size_t cli_write_max_bufsize(struct cli_state *cli,
return min_space;
}
- if (cli_encryption_on(cli)) {
+ if (cli_state_encryption_on(cli)) {
return min_space;
}