aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/twofish.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-11-06 17:32:37 +0000
committerDavid Shaw <[email protected]>2002-11-06 17:32:37 +0000
commitc4d58f14e079bdef1639cc56b4cc5f782c56bba7 (patch)
treee4521659c1b8f9a1f71007dc136c9ac44b807841 /cipher/twofish.c
parent* pubkey-enc.c (get_session_key): With hidden recipients or try a given (diff)
downloadgnupg-c4d58f14e079bdef1639cc56b4cc5f782c56bba7.tar.gz
gnupg-c4d58f14e079bdef1639cc56b4cc5f782c56bba7.zip
* 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().
Diffstat (limited to '')
-rw-r--r--cipher/twofish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/twofish.c b/cipher/twofish.c
index 5ed44872c..a6a571ff0 100644
--- a/cipher/twofish.c
+++ b/cipher/twofish.c
@@ -550,7 +550,7 @@ burn_stack (int bytes)
{
char buf[64];
- memset (buf, 0, sizeof buf);
+ wipememory(buf,sizeof buf);
bytes -= sizeof buf;
if (bytes > 0)
burn_stack (bytes);