/dev/srandom has been removed, just use /dev/random as everywhere else

This commit is contained in:
naddy 2017-11-01 17:47:22 +00:00
parent 4ca12b0faa
commit 34a83f5850
2 changed files with 18 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2015/04/03 15:12:28 pascal Exp $
# $OpenBSD: Makefile,v 1.21 2017/11/01 17:47:22 naddy Exp $
COMMENT= generates or checks digests or mac
DISTNAME= shash-0.2.6
REVISION= 1
REVISION= 2
CATEGORIES= security
HOMEPAGE= http://mcrypt.hellug.gr/shash/

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-configure,v 1.1 2017/11/01 17:47:22 naddy Exp $
Index: configure
--- configure.orig
+++ configure
@@ -3123,10 +3123,6 @@ echo "$as_me:$LINENO: result: $opt_static_link" >&5
echo "${ECHO_T}$opt_static_link" >&6
case "${target}" in
- *-openbsd*)
- NAME_OF_DEV_RANDOM="/dev/srandom"
- NAME_OF_DEV_URANDOM="/dev/urandom"
- ;;
*)
NAME_OF_DEV_RANDOM="/dev/random"
NAME_OF_DEV_URANDOM="/dev/urandom"