summaryrefslogtreecommitdiff
path: root/entropy.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-09-28 08:26:30 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-09-28 08:26:30 +1000
commit46e7ba5d53b13787f56402910e0b8e8f5c2248b3 (patch)
tree8d6589d07da9ee4e87979f7b41fd3d1d92397007 /entropy.c
parentc6f8219e0d4ee1f64fb7b4da88523c951a03c68a (diff)
- (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 ff97415a..e5b45b0b 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);