diff options
author | Gerald Carter <jerry@samba.org> | 2002-06-17 18:36:36 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-06-17 18:36:36 +0000 |
commit | 1e6e5b299c235b513095a76a4cd9fffc41e8fc9c (patch) | |
tree | 9f741529073ad411cc7328334e26d3e35b1d33f1 /source/libsmb/smbencrypt.c | |
parent | a11c5d7ad07d259d764aede4745d13f8163a8212 (diff) | |
download | samba-1e6e5b299c235b513095a76a4cd9fffc41e8fc9c.tar.gz samba-1e6e5b299c235b513095a76a4cd9fffc41e8fc9c.tar.xz samba-1e6e5b299c235b513095a76a4cd9fffc41e8fc9c.zip |
beginning to sync up for 2.2.5 release....
Diffstat (limited to 'source/libsmb/smbencrypt.c')
-rw-r--r-- | source/libsmb/smbencrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/smbencrypt.c b/source/libsmb/smbencrypt.c index c87ff61fdfc..9d862444e0e 100644 --- a/source/libsmb/smbencrypt.c +++ b/source/libsmb/smbencrypt.c @@ -59,7 +59,7 @@ void E_md4hash(const uchar *passwd, uchar *p16) int16 wpwd[129]; /* Password cannot be longer than 128 characters */ - len = strlen(passwd); + len = strlen((const char *)passwd); if(len > 128) len = 128; /* Password must be converted to NT unicode - null terminated. */ |