summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-22 05:24:00 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-22 05:24:00 +0200
commit1d9ea911e39b4619a0857171a3362bc2ff40bf96 (patch)
tree12030e67202da4811a70892a1dfe1861249c6682 /source4
parentc0e14d5021e738a9b89c73558c544596e2ad2000 (diff)
downloadsamba-1d9ea911e39b4619a0857171a3362bc2ff40bf96.tar.gz
samba-1d9ea911e39b4619a0857171a3362bc2ff40bf96.tar.bz2
samba-1d9ea911e39b4619a0857171a3362bc2ff40bf96.zip
Change buffer size back to 256, just to be sure.
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/auth/smbencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c
index 54daf19a12..a78c444da7 100644
--- a/source4/libcli/auth/smbencrypt.c
+++ b/source4/libcli/auth/smbencrypt.c
@@ -93,7 +93,7 @@ bool E_md4hash(const char *passwd, uint8_t p16[16])
bool E_deshash(const char *passwd, uint8_t p16[16])
{
bool ret = true;
- char dospwd[20];
+ char dospwd[256];
ZERO_STRUCT(dospwd);
/* Password must be converted to DOS charset - null terminated, uppercase. */