Hi,

I got this request to add OPENSSL_NO_EGD to our opensslfeatures.h file.
Any concerns from ports? By the way, the linked Wiki page is rather nice!

 - Brent

>From 5a882f54be541e4cc8d2db8794ba06b4cc4f75b2 Mon Sep 17 00:00:00 2001
From: Bernard Spil <s...@users.noreply.github.com>
Date: Mon, 25 May 2015 14:59:55 +0200
Subject: [PATCH] Add OPENSSL_NO_EGD to opensslfeatures.h

The RAND_egd method has been removed very early on in the creation of LibreSSL 
yet is has not appeared in the opensslfeatures.h header file. This complicates 
porting a number of packages that rely on the availability of RAND_egd. I've 
implemented configure changes for many of these (and upstreamed them) but I 
believe the proper place would be to add it to de features headers.
Once added I will update all the projects that I know require patching for 
RAND_egd with this changed behaviour. For a list of affected ports see 
https://wiki.freebsd.org/LibreSSL#Ports
---
 src/lib/libssl/src/crypto/opensslfeatures.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/libssl/src/crypto/opensslfeatures.h 
b/src/lib/libssl/src/crypto/opensslfeatures.h
index 54d3d4f..811fac6 100644
--- a/src/lib/libssl/src/crypto/opensslfeatures.h
+++ b/src/lib/libssl/src/crypto/opensslfeatures.h
@@ -1,6 +1,7 @@
 # define OPENSSL_NO_EC_NISTP_64_GCC_128
 # define OPENSSL_NO_CMS
 # define OPENSSL_NO_COMP
+# define OPENSSL_NO_EGD
 # define OPENSSL_NO_GMP
 # define OPENSSL_NO_JPAKE
 # define OPENSSL_NO_KRB5
--
2.4.1

Reply via email to