1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-23 00:23:53 +03:00

Changed the order of arguments in make_oem_passwd_hash(). All the other

encryption functions have outputs as the last arguments.
(This used to be commit fb60798a77)
This commit is contained in:
Tim Potter
2001-08-10 04:59:05 +00:00
parent de5f42c9d9
commit c4495240f6
2 changed files with 3 additions and 2 deletions

View File

@@ -187,7 +187,8 @@ void SMBNTencrypt(uchar *passwd, uchar *c8, uchar *p24)
#endif
}
BOOL make_oem_passwd_hash(char data[516], const char *passwd, uchar old_pw_hash[16], BOOL unicode)
BOOL make_oem_passwd_hash(const char *passwd, uchar old_pw_hash[16],
BOOL unicode, char data[516])
{
int new_pw_len = strlen(passwd) * (unicode ? 2 : 1);