Date: Sun, 26 Aug 2018 08:16:51 +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: r478106 - in head/net/relayd: . files Message-ID: <201808260816.w7Q8GpOV092488@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sun Aug 26 08:16:50 2018 New Revision: 478106 URL: https://svnweb.freebsd.org/changeset/ports/478106 Log: net/relayd: Stop using arc4random_stir PR: 230830, 230756 Approved by: portmgr (antoine) Added: head/net/relayd/files/patch-relayd_relayd.c (contents, props changed) Modified: head/net/relayd/Makefile Modified: head/net/relayd/Makefile ============================================================================== --- head/net/relayd/Makefile Sun Aug 26 08:07:29 2018 (r478105) +++ head/net/relayd/Makefile Sun Aug 26 08:16:50 2018 (r478106) @@ -2,7 +2,7 @@ PORTNAME= relayd PORTVERSION= 5.5.20140810 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MAINTAINER= mm@FreeBSD.org Added: head/net/relayd/files/patch-relayd_relayd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/relayd/files/patch-relayd_relayd.c Sun Aug 26 08:16:50 2018 (r478106) @@ -0,0 +1,12 @@ +--- relayd/relayd.c.orig 2014-08-10 20:08:47 UTC ++++ relayd/relayd.c +@@ -241,8 +241,7 @@ main(int argc, char *argv[]) + log_info("startup"); + + #ifdef __FreeBSD__ +-#if __FreeBSD_version > 800040 +- arc4random_stir(); ++#if __FreeBSD_version > 1000002 + arc4random_buf(rnd, sizeof(rnd)); + RAND_seed(rnd, sizeof(rnd)); + #else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808260816.w7Q8GpOV092488>