/dev/srandom has been removed, just use /dev/random as everywhere else
This commit is contained in:
parent
0a0d5ce139
commit
b6a79cfd4a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2017/10/25 12:22:00 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2017/11/01 14:31:47 naddy Exp $
|
||||
|
||||
BROKEN-i386 = asm problems with clang integrated as
|
||||
|
||||
@ -9,7 +9,7 @@ HOMEPAGE = http://www.cryptopp.com/
|
||||
MASTER_SITES = ${HOMEPAGE}
|
||||
DISTNAME = cryptopp565
|
||||
PKGNAME = cryptopp-5.6.5
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
EXTRACT_SUFX = .zip
|
||||
WRKDIST = ${WRKDIR}
|
||||
|
17
devel/cryptopp/patches/patch-osrng_cpp
Normal file
17
devel/cryptopp/patches/patch-osrng_cpp
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-osrng_cpp,v 1.1 2017/11/01 14:31:47 naddy Exp $
|
||||
|
||||
Index: osrng.cpp
|
||||
--- osrng.cpp.orig
|
||||
+++ osrng.cpp
|
||||
@@ -189,11 +189,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…
x
Reference in New Issue
Block a user