summaryrefslogtreecommitdiff
path: root/libcli/auth/smbencrypt.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-03-17 14:03:02 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-04-14 16:23:41 +1000
commit6c8f7e400540421320e3cbd80f7e1a9551dfed14 (patch)
tree0dea32e3571e489fd9fd8a66f80eb060c3594d51 /libcli/auth/smbencrypt.c
parenta19966375aeab5627308379219361de7053189fd (diff)
downloadsamba-6c8f7e400540421320e3cbd80f7e1a9551dfed14.tar.gz
samba-6c8f7e400540421320e3cbd80f7e1a9551dfed14.tar.bz2
samba-6c8f7e400540421320e3cbd80f7e1a9551dfed14.zip
Port Samba4 to the new combined libcli/auth functions
For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
Diffstat (limited to 'libcli/auth/smbencrypt.c')
-rw-r--r--libcli/auth/smbencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/auth/smbencrypt.c b/libcli/auth/smbencrypt.c
index bcb40acda1..f5a73feadc 100644
--- 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);