1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/libretls: do not use builtin arc4random_buf

The issue upstream had with FreeBSD's arc4random_buf are not valid
anymore.

PR:	280465
This commit is contained in:
Baptiste Daroussin 2024-09-17 09:27:22 +02:00
parent 637e2c5e5a
commit 7d7a24910c
2 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= libretls
PORTVERSION= 3.8.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security devel
MASTER_SITES= https://causal.agency/libretls/

View File

@ -0,0 +1,12 @@
--- configure.orig 2023-10-11 23:33:50 UTC
+++ configure
@@ -12163,9 +12163,6 @@ fi
*freebsd*)
HOST_OS=freebsd
HOST_ABI=elf
- # fork detection missing, weak seed on failure
- # https://svnweb.freebsd.org/base/head/lib/libc/gen/arc4random.c?revision=268642&view=markup
- USE_BUILTIN_ARC4RANDOM=yes
PROG_LDADD='-lthr'
;;