[Bug 198527] [PATCH] security/heimdal: Detect LibreSSL / fix build without EGD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 11 19:48:03 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198527
Bug ID: 198527
Summary: [PATCH] security/heimdal: Detect LibreSSL / fix build
without EGD
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: hrs at FreeBSD.org
Reporter: spil.oss at gmail.com
Assignee: hrs at FreeBSD.org
Keywords: patch
Flags: maintainer-feedback?(hrs at FreeBSD.org)
Created attachment 154222
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154222&action=edit
svn diff for security/heimdal
heimdal unconditionally relies on RAND_egd which makes building fail with
LibreSSL which has removed EGD. FreeBSD does not require EGD at all,
/dev/random has been available since FreeBSD 4.2
The patch checks for the LibreSSL by looking for LIBRESSL_VERSION_NUMBER which
is defined in openssl/opensslv.h and disables code that requires egd. Couldn't
find a clean spot to check for RAND_egd in configure like so
AC_CHECK_LIB(crypto, RAND_egd, AC_DEFINE(HAVE_RAND_EGD, 1, [Define if the
libcrypto has RAND_egd]))
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list