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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user