mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3: Directly call common_encrypt_buffer in cli_smb_req_iov_send
This commit is contained in:
parent
df0e33008e
commit
1a393b7cd6
@ -414,8 +414,8 @@ static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req,
|
||||
if (buf == NULL) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
status = cli_encrypt_message(state->cli, (char *)buf,
|
||||
&enc_buf);
|
||||
status = common_encrypt_buffer(state->cli->trans_enc_state,
|
||||
(char *)buf, &enc_buf);
|
||||
TALLOC_FREE(buf);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(0, ("Error in encrypting client message: %s\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user