search for: prngd_sourc

Displaying 1 result from an estimated 1 matches for "prngd_sourc".

Did you mean: prngd_source
2001 Jun 07
2
Patch to enable multiple possible sources of entropy
...nal_uid = getuid(); original_euid = geteuid(); *************** *** 912,915 **** prng_initialised = 1; } ! #endif /* defined(USE_PRNGD) || defined(RANDOM_POOL) */ --- 883,979 ---- prng_initialised = 1; } ! #endif /* USE_BUILTIN_ENTROPY */ ! ! #define BUILTIN_SOURCE 1 ! #define PRNGD_SOURCE 2 ! #define POOL_SOURCE 3 ! ! static int seed_source = 0; ! ! void ! init_rng(void) ! { ! check_openssl_version(); ! ! #ifdef RANDOM_POOL ! #if !defined(USE_PRNGD) && !defined(USE_BUILTIN_ENTROPY) ! seed_source = POOL_SOURCE; ! #else ! if (access(RANDOM_POOL, R_OK) == 0) { ! seed_s...