summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-09-29 17:48:44 +0000
committerLuke Leighton <lkcl@samba.org>1998-09-29 17:48:44 +0000
commit6ecd472ef3a8beaa78edfb7cc431fa07674c494f (patch)
treea13ee9d848b9327a069661756aeff4686f9c2805 /source3/libsmb
parent0ccf4104a1b502eff799566ea0bd9e8b00b30b19 (diff)
downloadsamba-6ecd472ef3a8beaa78edfb7cc431fa07674c494f.tar.gz
samba-6ecd472ef3a8beaa78edfb7cc431fa07674c494f.tar.bz2
samba-6ecd472ef3a8beaa78edfb7cc431fa07674c494f.zip
uchar / char typecast issues
(This used to be commit 1a1d8d0483fc05765e6dcc2da00405e0ec7421a2)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c4
-rw-r--r--source3/libsmb/smbencrypt.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 30f7dc5d99..214f6c4445 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -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);
diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c
index 5a946e22c9..045008fac9 100644
--- a/source3/libsmb/smbencrypt.c
+++ b/source3/libsmb/smbencrypt.c
@@ -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];