Patch php-openssl-rand-egd.patch for *Compile Issues Bug #71483
Patch version 2016-01-29 13:07 UTC
Return to Bug #71483 |
Download this patch
Patch Revisions:
Developer: jeff@macloue.com
diff --git a/ext/openssl/config0.m4 b/ext/openssl/config0.m4
index a9484b4..44d7c60 100644
--- a/ext/openssl/config0.m4
+++ b/ext/openssl/config0.m4
@@ -21,7 +21,6 @@ if test "$PHP_OPENSSL" != "no"; then
AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
AC_CHECK_LIB(crypto, X509_free, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
- AC_CHECK_FUNCS([RAND_egd])
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
[
@@ -29,6 +28,7 @@ if test "$PHP_OPENSSL" != "no"; then
], [
AC_MSG_ERROR([OpenSSL check failed. Please check config.log for more information.])
])
+ AC_CHECK_FUNCS([RAND_egd])
if test "$PHP_SYSTEM_CIPHERS" != "no"; then
AC_DEFINE(USE_OPENSSL_SYSTEM_CIPHERS,1,[ Use system default cipher list instead of hardcoded value ])
fi
|