mirror of
https://github.com/samba-team/samba.git
synced 2025-12-20 16:23:51 +03:00
@@ -1869,8 +1869,8 @@ BOOL cli_establish_connection(struct cli_state *cli,
|
||||
else
|
||||
{
|
||||
/* attempt encrypted session */
|
||||
uchar nt_sess_pwd[24];
|
||||
uchar lm_sess_pwd[24];
|
||||
char nt_sess_pwd[24];
|
||||
char lm_sess_pwd[24];
|
||||
|
||||
/* creates (storing a copy of) and then obtains a 24 byte password OWF */
|
||||
pwd_make_lm_nt_owf(&(cli->pwd), cli->cryptkey);
|
||||
|
||||
@@ -121,7 +121,7 @@ void nt_lm_owf_gen(char *pwd, uchar nt_p16[16], uchar p16[16])
|
||||
}
|
||||
|
||||
/* Does the des encryption from the NT or LM MD4 hash. */
|
||||
void SMBOWFencrypt(uchar passwd[16], uchar *c8, uchar p24[24])
|
||||
void SMBOWFencrypt(uchar passwd[16], char *c8, uchar p24[24])
|
||||
{
|
||||
uchar p21[21];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user