artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
186ea34
)
not necessary to zero hash context; the hash final functions all do that.
author
tedu
<tedu@openbsd.org>
Tue, 23 Dec 2014 20:32:05 +0000
(20:32 +0000)
committer
tedu
<tedu@openbsd.org>
Tue, 23 Dec 2014 20:32:05 +0000
(20:32 +0000)
sys/dev/rnd.c
patch
|
blob
|
history
diff --git
a/sys/dev/rnd.c
b/sys/dev/rnd.c
index
e3686a7
..
d5d8d88
100644
(file)
--- a/
sys/dev/rnd.c
+++ b/
sys/dev/rnd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: rnd.c,v 1.16
7 2014/12/23 20:29:23
tedu Exp $ */
+/* $OpenBSD: rnd.c,v 1.16
8 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));
}