summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorStefan Sperling <stsp@apache.org>2015-04-18 19:03:47 +0200
committerStefan Sperling <stsp@apache.org>2015-04-18 19:03:47 +0200
commit0f10bfb7f0449795750b7878cd8e272f870bb792 (patch)
tree2f675860f5aa114a577595f64732c653a2cca895 /acinclude.m4
parentmod_ssl namespacing: Rename ssl_util_ssl.h macros from SSL_foo to MODSSL_foo. (diff)
downloadapache2-0f10bfb7f0449795750b7878cd8e272f870bb792.tar.xz
apache2-0f10bfb7f0449795750b7878cd8e272f870bb792.zip
mod_ssl: Check for RAND_egd() at configure time and only use it if present.
Fixes the build with LibreSSL which does not provide this function. Submitted by: Bernard Spil <pil.oss gmail com>, stsp Committed by: stsp git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674542 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index dfcb3c9b03..c6ca3fe7fa 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -595,7 +595,7 @@ AC_DEFUN(APACHE_CHECK_OPENSSL,[
liberrors=""
AC_CHECK_HEADERS([openssl/engine.h])
AC_CHECK_FUNCS([SSLeay_version SSL_CTX_new], [], [liberrors="yes"])
- AC_CHECK_FUNCS([ENGINE_init ENGINE_load_builtin_engines])
+ AC_CHECK_FUNCS([ENGINE_init ENGINE_load_builtin_engines RAND_egd])
if test "x$liberrors" != "x"; then
AC_MSG_WARN([OpenSSL libraries are unusable])
fi