SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
devel/cryptopp/patches/patch-osrng_cpp
Normal file
15
devel/cryptopp/patches/patch-osrng_cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
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()
|
Loading…
Add table
Add a link
Reference in a new issue