security/heimdal: Don't call arc4random_stir.

PR:		230835, 230756
Approved by:	portmgr (antoine)
This commit is contained in:
Xin LI 2018-08-26 08:36:30 +00:00
parent 6b1e8d6ab7
commit a873c4d2c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478108
2 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= heimdal
PORTVERSION= 7.5.0
PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= https://github.com/heimdal/heimdal/releases/download/${DISTNAME}/

View File

@ -0,0 +1,10 @@
--- lib/roken/rand.c.orig 2016-12-20 14:23:06 UTC
+++ lib/roken/rand.c
@@ -42,7 +42,6 @@ void ROKEN_LIB_FUNCTION
rk_random_init(void)
{
#if defined(HAVE_ARC4RANDOM)
- arc4random_stir();
#elif defined(HAVE_SRANDOMDEV)
srandomdev();
#elif defined(HAVE_RANDOM)