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

uchar / char typecast issues

(This used to be commit 1a1d8d0483)
This commit is contained in:
Luke Leighton
1998-09-29 17:48:44 +00:00
parent 0ccf4104a1
commit 6ecd472ef3
2 changed files with 3 additions and 3 deletions

View File

@@ -1869,8 +1869,8 @@ BOOL cli_establish_connection(struct cli_state *cli,
else else
{ {
/* attempt encrypted session */ /* attempt encrypted session */
uchar nt_sess_pwd[24]; char nt_sess_pwd[24];
uchar lm_sess_pwd[24]; char lm_sess_pwd[24];
/* creates (storing a copy of) and then obtains a 24 byte password OWF */ /* creates (storing a copy of) and then obtains a 24 byte password OWF */
pwd_make_lm_nt_owf(&(cli->pwd), cli->cryptkey); pwd_make_lm_nt_owf(&(cli->pwd), cli->cryptkey);

View File

@@ -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. */ /* 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]; uchar p21[21];