aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rndriscos.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-11-06 15:28:12 +0000
committerDavid Shaw <[email protected]>2002-11-06 15:28:12 +0000
commit90279250e84e5459397d50d850ab08df015331be (patch)
tree3c48d96961e32888340f26d93ba81b088b3ccd46 /cipher/rndriscos.c
parent* keyedit.c (show_key_with_all_names_colon): Don't stick nulls into the (diff)
downloadgnupg-90279250e84e5459397d50d850ab08df015331be.tar.gz
gnupg-90279250e84e5459397d50d850ab08df015331be.zip
* 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), rndriscos.c (rndriscos_gather_random), sha1.c (burn_stack), tiger.c (burn_stack), twofish.c (burn_stack): Replace various calls to memset() with the more secure wipememory().
Diffstat (limited to 'cipher/rndriscos.c')
-rw-r--r--cipher/rndriscos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/rndriscos.c b/cipher/rndriscos.c
index 98142b313..4a9a3b73e 100644
--- a/cipher/rndriscos.c
+++ b/cipher/rndriscos.c
@@ -87,7 +87,7 @@ rndriscos_gather_random(void (*add)(const void*, size_t, int), int requester,
(*add)(buffer, n, requester);
length -= n;
}
- memset(buffer, 0, sizeof(buffer));
+ wipememory(buffer, sizeof(buffer));
return 0; /* success */
}