From b68bfdf17c4e6375f637cd301f54181d0dbe3682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Fri, 19 Nov 2021 21:30:41 +0200 Subject: [PATCH] ./configure: detecting RAND_egd fixes https://bugs.php.net/bug.php?id=75725 --- ext/openssl/config0.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/openssl/config0.m4 b/ext/openssl/config0.m4 index 9df2469363fa6..9714ffec17427 100644 --- a/ext/openssl/config0.m4 +++ b/ext/openssl/config0.m4 @@ -28,8 +28,6 @@ if test "$PHP_OPENSSL" != "no"; then PHP_EVAL_LIBLINE($KERBEROS_LIBS, OPENSSL_SHARED_LIBADD) fi - AC_CHECK_FUNCS([RAND_egd]) - PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD, [ AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ]) @@ -39,4 +37,5 @@ if test "$PHP_OPENSSL" != "no"; then if test "$PHP_SYSTEM_CIPHERS" != "no"; then AC_DEFINE(USE_OPENSSL_SYSTEM_CIPHERS,1,[ Use system default cipher list instead of hardcoded value ]) fi + AC_CHECK_FUNCS([RAND_egd]) fi