diff options
-rw-r--r-- | source3/libsmb/async_smb.c | 4 | ||||
-rw-r--r-- | source3/libsmb/clireadwrite.c | 4 |
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; } |