From c4d58f14e079bdef1639cc56b4cc5f782c56bba7 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 6 Nov 2002 17:32:37 +0000 Subject: * rndw32.c [__CYGWIN32__]: Don't include winioctl.h - it is not required anymore. (From Werner) * random.c (read_seed_file,update_random_seed_file): Use binary mode for __CYGWIN__. (From Werner) * blowfish.c (burn_stack), cast5.c (burn_stack), des.c (burn_stack), md5.c (burn_stack), random.c (burn_stack, read_pool, fast_random_poll), rijndael.c (burn_stack), rmd160.c (burn_stack), rndegd.c (rndegd_gather_random), rndlinux.c (rndlinux_gather_random), sha1.c (burn_stack), tiger.c (burn_stack), twofish.c (burn_stack): Replace various calls to memset() with the more secure wipememory(). --- cipher/rndlinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cipher/rndlinux.c') diff --git a/cipher/rndlinux.c b/cipher/rndlinux.c index c31b7f71c..2b28e4b6a 100644 --- a/cipher/rndlinux.c +++ b/cipher/rndlinux.c @@ -156,7 +156,7 @@ _("\n" (*add)( buffer, n, requester ); length -= n; } - memset(buffer, 0, sizeof(buffer) ); + wipememory(buffer, sizeof(buffer) ); return 0; /* success */ } -- cgit