- (dtucker) [entropy.c] Use u_char for receiving RNG seed for consistency

This commit is contained in:
Darren Tucker 2005-09-28 08:26:30 +10:00
parent c6f8219e0d
commit 46e7ba5d53
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
20050928
- (dtucker) [entropy.c] Use u_char for receiving RNG seed for consistency.
20050927 20050927
- (dtucker) [entropy.c] Remove unnecessary tests for getuid and geteuid - (dtucker) [entropy.c] Remove unnecessary tests for getuid and geteuid
calls, since they can't possibly fail. ok djm@ calls, since they can't possibly fail. ok djm@
@ -3020,4 +3023,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3896 2005/09/27 12:46:32 dtucker Exp $ $Id: ChangeLog,v 1.3897 2005/09/27 22:26:30 dtucker Exp $

View File

@ -48,7 +48,7 @@
* XXX: we should tell the child how many bytes we need. * 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 #ifndef OPENSSL_PRNG_ONLY
#define RANDOM_SEED_SIZE 48 #define RANDOM_SEED_SIZE 48
@ -170,7 +170,7 @@ rexec_send_rng_seed(Buffer *m)
void void
rexec_recv_rng_seed(Buffer *m) rexec_recv_rng_seed(Buffer *m)
{ {
char *buf; u_char *buf;
u_int len; u_int len;
buf = buffer_get_string_ret(m, &len); buf = buffer_get_string_ret(m, &len);