summaryrefslogtreecommitdiffstats
path: root/entropy.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-09-28 00:26:30 +0200
committerDarren Tucker <dtucker@zip.com.au>2005-09-28 00:26:30 +0200
commit46e7ba5d53b13787f56402910e0b8e8f5c2248b3 (patch)
tree8d6589d07da9ee4e87979f7b41fd3d1d92397007 /entropy.c
parent - (dtucker) [entropy.c entropy.h sshd.c] Pass RNG seed to the reexec'ed (diff)
downloadopenssh-46e7ba5d53b13787f56402910e0b8e8f5c2248b3.tar.xz
openssh-46e7ba5d53b13787f56402910e0b8e8f5c2248b3.zip
- (dtucker) [entropy.c] Use u_char for receiving RNG seed for consistency
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/entropy.c b/entropy.c
index ff97415a9..e5b45b0b6 100644
--- a/entropy.c
+++ b/entropy.c
@@ -48,7 +48,7 @@
* XXX: we should tell the child how many bytes we need.
*/
-RCSID("$Id: entropy.c,v 1.51 2005/09/27 12:46:32 dtucker Exp $");
+RCSID("$Id: entropy.c,v 1.52 2005/09/27 22:26:30 dtucker Exp $");
#ifndef OPENSSL_PRNG_ONLY
#define RANDOM_SEED_SIZE 48
@@ -170,7 +170,7 @@ rexec_send_rng_seed(Buffer *m)
void
rexec_recv_rng_seed(Buffer *m)
{
- char *buf;
+ u_char *buf;
u_int len;
buf = buffer_get_string_ret(m, &len);