diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-23 20:32:06 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-23 20:32:06 +0000 |
commit | debe058fa3ec04ed3757706654d5ee5f8bed771a (patch) | |
tree | 9bad3828b51d319054f7b112fa4c43ffe40e5f6a /sys | |
parent | 395e85d587c389cc8aa77b161f6c01479566405d (diff) |
not necessary to zero hash context; the hash final functions all do that.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/rnd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c index e3686a7cc52..d5d8d888f83 100644 --- a/sys/dev/rnd.c +++ b/sys/dev/rnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rnd.c,v 1.167 2014/12/23 20:29:23 tedu Exp $ */ +/* $OpenBSD: rnd.c,v 1.168 2014/12/23 20:32:05 tedu Exp $ */ /* * Copyright (c) 2011 Theo de Raadt. @@ -526,7 +526,6 @@ extract_entropy(u_int8_t *buf) /* Wipe data from memory */ explicit_bzero(extract_pool, sizeof(extract_pool)); - explicit_bzero(&shactx, sizeof(shactx)); explicit_bzero(digest, sizeof(digest)); } |