git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Port Samba4 to the new combined libcli/auth functions
[ira/wip.git]
/
libcli
/
auth
/
smbencrypt.c
diff --git
a/libcli/auth/smbencrypt.c
b/libcli/auth/smbencrypt.c
index bcb40acda19c4a6665259b8a2406c89178fa623f..f5a73feadcd7ccc4a630c88209adf4d8c593a841 100644
(file)
--- a/
libcli/auth/smbencrypt.c
+++ b/
libcli/auth/smbencrypt.c
@@
-538,7
+538,7
@@
bool encode_pw_buffer(uint8_t buffer[516], const char *password, int string_flag
/* the incoming buffer can be any alignment. */
string_flags |= STR_NOALIGN;
- new_pw_len = push_string(new_pw,
new_pw,
+ new_pw_len = push_string(new_pw,
password,
sizeof(new_pw), string_flags);