It might have been necessary for some very old version of OpenSSL, but
the currently minimum required version for tinc will do a proper
initialization of its PRNG automatically. LibreSSL of course does the
right thing too, and its RAND_load_file() is just a dummy.
init_configuration(&config_tree);
- /* Slllluuuuuuurrrrp! */
-
- if(RAND_load_file("/dev/urandom", 1024) != 1024) {
- logger(LOG_ERR, "Error initializing RNG!");
- return 1;
- }
-
ENGINE_load_builtin_engines();
ENGINE_register_all_complete();