svn commit: r478108 - in head/security/heimdal: . files

Xin LI delphij at FreeBSD.org
Sun Aug 26 08:36:31 UTC 2018


Author: delphij
Date: Sun Aug 26 08:36:30 2018
New Revision: 478108
URL: https://svnweb.freebsd.org/changeset/ports/478108

Log:
  security/heimdal: Don't call arc4random_stir.
  
  PR:		230835, 230756
  Approved by:	portmgr (antoine)

Added:
  head/security/heimdal/files/patch-lib_roken_rand.c   (contents, props changed)
Modified:
  head/security/heimdal/Makefile

Modified: head/security/heimdal/Makefile
==============================================================================
--- head/security/heimdal/Makefile	Sun Aug 26 08:26:41 2018	(r478107)
+++ head/security/heimdal/Makefile	Sun Aug 26 08:36:30 2018	(r478108)
@@ -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}/
 

Added: head/security/heimdal/files/patch-lib_roken_rand.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/heimdal/files/patch-lib_roken_rand.c	Sun Aug 26 08:36:30 2018	(r478108)
@@ -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)


More information about the svn-ports-head mailing list