15 lines
388 B
Text
15 lines
388 B
Text
Index: osrng.cpp
|
|
--- osrng.cpp.orig
|
|
+++ osrng.cpp
|
|
@@ -248,11 +248,7 @@ void NonblockingRng::GenerateBlock(byte *output, size_
|
|
#ifdef BLOCKING_RNG_AVAILABLE
|
|
|
|
#ifndef CRYPTOPP_BLOCKING_RNG_FILENAME
|
|
-# ifdef __OpenBSD__
|
|
-# define CRYPTOPP_BLOCKING_RNG_FILENAME "/dev/srandom"
|
|
-# else
|
|
# define CRYPTOPP_BLOCKING_RNG_FILENAME "/dev/random"
|
|
-# endif
|
|
#endif
|
|
|
|
BlockingRng::BlockingRng()
|