Make compile again.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23197 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-05-29 02:11:19 +00:00
parent f5ac8cbc87
commit 9f52c260e1

View File

@@ -279,7 +279,7 @@ reseed(FState * st)
md_update(&key_md, st->key, BLOCK); md_update(&key_md, st->key, BLOCK);
/* add pid to make output diverse after fork() */ /* add pid to make output diverse after fork() */
md_update(&key_md, &st->pid, sizeof(st->pid)); md_update(&key_md, (const unsigned char *)&st->pid, sizeof(st->pid));
/* now we have new key */ /* now we have new key */
md_result(&key_md, st->key); md_result(&key_md, st->key);
@@ -403,7 +403,7 @@ extract_data(FState * st, unsigned count, unsigned char *dst)
/* If we forked, force a reseed again */ /* If we forked, force a reseed again */
if (pid != st->pid) { if (pid != st->pid) {
st->pid = pid; st->pid = pid;
reseed(); reseed(st);
} }
while (count > 0) while (count > 0)