-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Description
This is new in -pre9, and is related to the persistent random device changes.
On shutdown, OPENSSL_cleanup() calls rand_cleanup_int(), which calls rand_pool_cleanup() followed by RAND_set_rand_method(NULL).
If nothing has ever used random numbers before, the
rand_pool_cleanup() call does nothing, as there's nothing to clean up, but the RAND_set_rand_method(NULL) call will then execute the RUN_ONCE(&rand_init, do_rand_init), as it's never been called before, which will open the random devices. Nothing will ever close them, as rand_pool_cleanup() has already been called.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels