From c4495240f63c2bae164d4ef29ab9af2d3d87aec1 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 10 Aug 2001 04:59:05 +0000 Subject: 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 fb60798a771a7a2358d78e5cef97487addf930e7) --- source3/libsmb/smbencrypt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/libsmb/smbencrypt.c') diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c index 95d21dc772..e13b180fcb 100644 --- a/source3/libsmb/smbencrypt.c +++ b/source3/libsmb/smbencrypt.c @@ -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); -- cgit