diff options
author | lloyd <[email protected]> | 2009-06-09 22:38:17 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-06-09 22:38:17 +0000 |
commit | a970f838ffcd050147cae46fb40b0d85e38453ce (patch) | |
tree | 01e5d50692cc308855984b424557dce24bfaddc3 /src/rng | |
parent | f92ebabfe414d19003e83db40e808d6d8315fa14 (diff) |
Change the order of preference for /dev/*random polling to
/dev/urandom
/dev/random
/dev/srandom (OpenBSD-specific)
Diffstat (limited to 'src/rng')
-rw-r--r-- | src/rng/auto_rng/auto_rng.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rng/auto_rng/auto_rng.cpp b/src/rng/auto_rng/auto_rng.cpp index 578047afc..171c83cca 100644 --- a/src/rng/auto_rng/auto_rng.cpp +++ b/src/rng/auto_rng/auto_rng.cpp @@ -93,7 +93,7 @@ void add_entropy_sources(RandomNumberGenerator* rng) #if defined(BOTAN_HAS_ENTROPY_SRC_DEVICE) rng->add_entropy_source( new Device_EntropySource( - split_on("/dev/random:/dev/srandom:/dev/urandom", ':') + split_on("/dev/urandom:/dev/random:/dev/srandom", ':') ) ); #endif |