Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 08:36:30 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478108 - in head/security/heimdal: . files
Message-ID:  <201808260836.w7Q8aUtR002730@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808260836.w7Q8aUtR002730>