random: Small patch for consistency and really burn the stack.
authorWerner Koch <wk@gnupg.org>
Tue, 15 Apr 2014 14:40:48 +0000 (16:40 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 22 Apr 2014 08:34:52 +0000 (10:34 +0200)
commita79c4ad7c56ee4410f17beb73eeb58b0dd36bfc6
tree4ad3be77edb80d246afdf5c8ea1552df4a573c3d
parent773e23698218755e9172d2507031a8263c47cc0b
random: Small patch for consistency and really burn the stack.

* random/rndlinux.c (_gcry_rndlinux_gather_random): s/int/size_t/.
(_gcry_rndlinux_gather_random): Replace memset by wipememory.
--

size_t was suggested by Marcus Meissner <meissner@suse.de>.  While
looking at the code I identified the useless (i.e. likely optimized
away) memset.
random/rndlinux.c