projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cast void * to unsigned char * for Heimdal compat
[mech_eap.orig]
/
mech_eap
/
pseudo_random.c
diff --git
a/mech_eap/pseudo_random.c
b/mech_eap/pseudo_random.c
index
a90d972
..
476f1c5
100644
(file)
--- a/
mech_eap/pseudo_random.c
+++ b/
mech_eap/pseudo_random.c
@@
-134,7
+134,7
@@
gss_pseudo_random(OM_uint32 *minor,
goto cleanup;
}
- memcpy(ns.data + 4, prf_in->value, prf_in->length);
+ memcpy(
(unsigned char *)
ns.data + 4, prf_in->value, prf_in->length);
i = 0;
p = (unsigned char *)prf_out->value;
while (desired_output_len > 0) {