Home GnuPG

random: Small patch for consistency and really burn the stack.
06b4192efdd9Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
wernerAuthored on Apr 15 2014, 4:40 PM
Parents
rCbceb5ec22bd9: pubkey: Re-map all deprecated RSA algo numbers.
Branches
Unknown
Tags
Unknown

Event Timeline