Home GnuPG

random: Use getrandom only when it's appropriate.
d41177937ceaUnpublished

Unpublished Commit · Learn More

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

Description

random: Use getrandom only when it's appropriate.

* random/rndgetentropy.c (_gcry_rndgetentropy_gather_random)
[GRND_RANDOM]: Conditionalize the use of getrandom, as it's
not a portable function.

Cherry-picked master commit of:
fa21ddc158b5d7b5900856e5b131071302217a51

Details

Provenance
gniibeAuthored on Apr 10 2023, 4:45 AM
Parents
rC08f133c527eb: Post release updates
Branches
Unknown
Tags
Unknown

Event Timeline