upstream: https://github.com/mirage/mirage-crypto
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

revert crypto-rng auto-init, keep explicit use_default()

-4
-4
rng/unix/crypto_rng_unix.ml
··· 11 11 set_default_generator g 12 12 13 13 let use_default () = use_getentropy () 14 - 15 - (* Auto-initialize on load so programs that link crypto-rng.unix don't need 16 - an explicit use_default() call. Idempotent: subsequent calls are no-ops. *) 17 - let () = use_default () 18 14 let src = Logs.Src.create "crypto-rng.unix" ~doc:"Mirage crypto RNG Unix" 19 15 20 16 module Log = (val Logs.src_log src : Logs.LOG)