NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
295 stars 99 forks source link

If RNG is already seeded, return early #249

Open crrodriguez opened 2 weeks ago

crrodriguez commented 2 weeks ago

Most of the time, in most systems the openSSL RNG seeds itself automatically, in that case rand status returns 1, this is sufficient to return early.