git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c2578
)
add a cast
author
Andrew Tridgell
<tridge@samba.org>
Tue, 16 Sep 1997 08:26:33 +0000
(08:26 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 16 Sep 1997 08:26:33 +0000
(08:26 +0000)
(This used to be commit
e712c6ed61abeae5ec2acf99f109ad81e7a19978
)
source3/smbd/password.c
patch
|
blob
|
history
diff --git
a/source3/smbd/password.c
b/source3/smbd/password.c
index 7b581d128959baf75d52af8c3ab15c05d36275ac..35f73eab2d1712a915b5329794dab6e78b22015c 100644
(file)
--- a/
source3/smbd/password.c
+++ b/
source3/smbd/password.c
@@
-58,7
+58,7
@@
void generate_next_challenge(char *challenge)
SIVAL(challenge,4,v2);
/* mash it up with md4 */
- mdfour(buf, challenge, 8);
+ mdfour(buf,
(unsigned char *)
challenge, 8);
memcpy(saved_challenge, buf, 8);
memcpy(challenge,buf,8);