git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0e330
)
s3: Directly call common_encrypt_buffer in cli_smb_req_iov_send
author
Volker Lendecke
<vl@samba.org>
Sun, 22 May 2011 17:13:19 +0000
(19:13 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 23 May 2011 09:06:08 +0000
(11:06 +0200)
source3/libsmb/async_smb.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/async_smb.c
b/source3/libsmb/async_smb.c
index dfab82ada17ad69c6d69272fee0fa850ad892e39..3ed38718c1a2ba9ace5124a3b4cce0204d7ea1e1 100644
(file)
--- a/
source3/libsmb/async_smb.c
+++ b/
source3/libsmb/async_smb.c
@@
-414,8
+414,8
@@
static NTSTATUS cli_smb_req_iov_send(struct tevent_req *req,
if (buf == NULL) {
return NT_STATUS_NO_MEMORY;
}
- status = c
li_encrypt_message(state->cli, (char *)buf
,
- &enc_buf);
+ status = c
ommon_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",