The ssl module links to RAND_egd at runtime so there was no visible
build breakage when RAND_egd was removed.
$ nm modules/ssl/.libs/ssl_engine_rand.o | grep RAND
U RAND_egd
U RAND_seed
U RAND_status
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/apache-httpd/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- Makefile 21 Apr 2014 22:47:07 -0000 1.45
+++ Makefile 27 Apr 2014 18:59:17 -0000
@@ -5,7 +5,7 @@ COMMENT= apache HTTP server
V= 2.2.27
PKGNAME= apache-httpd-${V}
DISTNAME= httpd-${V}
-REVISION= 0
+REVISION= 1
CATEGORIES= www net
Index: patches/patch-modules_ssl_ssl_toolkit_compat_h
===================================================================
RCS file: patches/patch-modules_ssl_ssl_toolkit_compat_h
diff -N patches/patch-modules_ssl_ssl_toolkit_compat_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-modules_ssl_ssl_toolkit_compat_h 27 Apr 2014 18:46:21
-0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- modules/ssl/ssl_toolkit_compat.h.orig Sun Apr 27 20:43:17 2014
++++ modules/ssl/ssl_toolkit_compat.h Sun Apr 27 20:46:16 2014
+@@ -143,8 +143,6 @@ typedef int (modssl_read_bio_cb_fn)(char*,int,int,void
+ #define X509_reference_inc(cert) \
+ CRYPTO_add(&((cert)->references), +1, CRYPTO_LOCK_X509)
+
+-#define HAVE_SSL_RAND_EGD /* since 9.5.1 */
+-
+ #define HAVE_SSL_X509V3_EXT_d2i
+
+ #if (OPENSSL_VERSION_NUMBER >= 0x009080a0) && defined(OPENSSL_FIPS)