git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://neil.brown.name/md
[pandora-kernel.git]
/
fs
/
cifs
/
smbencrypt.c
diff --git
a/fs/cifs/smbencrypt.c
b/fs/cifs/smbencrypt.c
index
7cacba1
..
80d8508
100644
(file)
--- a/
fs/cifs/smbencrypt.c
+++ b/
fs/cifs/smbencrypt.c
@@
-209,7
+209,7
@@
E_md4hash(const unsigned char *passwd, unsigned char *p16,
{
int rc;
int len;
{
int rc;
int len;
- __
u
16 wpwd[129];
+ __
le
16 wpwd[129];
/* Password cannot be longer than 128 characters */
if (passwd) /* Password must be converted to NT unicode */
/* Password cannot be longer than 128 characters */
if (passwd) /* Password must be converted to NT unicode */
@@
-219,8
+219,8
@@
E_md4hash(const unsigned char *passwd, unsigned char *p16,
*wpwd = 0; /* Ensure string is null terminated */
}
*wpwd = 0; /* Ensure string is null terminated */
}
- rc = mdfour(p16, (unsigned char *) wpwd, len * sizeof(__
u
16));
- memset(wpwd, 0, 129 * sizeof(__
u
16));
+ rc = mdfour(p16, (unsigned char *) wpwd, len * sizeof(__
le
16));
+ memset(wpwd, 0, 129 * sizeof(__
le
16));
return rc;
}
return rc;
}