diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-01-10 02:44:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-01-10 02:44:19 +0000 |
commit | 168eb86a801a06ac39dbe676f60767d5e1e1ca5d (patch) | |
tree | bc290d7806eed7b1f06cf2ecf418a700b5a75082 /sys/dev/rnd.c | |
parent | 7488d26d129e5ac43fe1a3ce02d93d215ad7f5a9 (diff) |
zero another intermediate key storage area
Diffstat (limited to 'sys/dev/rnd.c')
-rw-r--r-- | sys/dev/rnd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c index 5be1ca00d1d..cdc6269aa13 100644 --- a/sys/dev/rnd.c +++ b/sys/dev/rnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rnd.c,v 1.132 2011/01/09 22:40:51 deraadt Exp $ */ +/* $OpenBSD: rnd.c,v 1.133 2011/01/10 02:44:18 deraadt Exp $ */ /* * Copyright (c) 2011 Theo de Raadt. @@ -507,6 +507,7 @@ extract_entropy(u_int8_t *buf, int nbytes) } /* Wipe data from memory */ + bzero(extract_pool, sizeof(extract_pool)); bzero(&tmp, sizeof(tmp)); bzero(buffer, sizeof(buffer)); } |