aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7/fix-crypt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/php7/fix-crypt.patch')
-rw-r--r--testing/php7/fix-crypt.patch22
1 files changed, 2 insertions, 20 deletions
diff --git a/testing/php7/fix-crypt.patch b/testing/php7/fix-crypt.patch
index f21ee4d5fe..8f0d919378 100644
--- a/testing/php7/fix-crypt.patch
+++ b/testing/php7/fix-crypt.patch
@@ -1,23 +1,5 @@
---- php-7.0.4.orig/ext/standard/config.m4
-+++ php-7.0.4/ext/standard/config.m4
-@@ -314,7 +314,7 @@
- fi
- AC_DEFINE_UNQUOTED(PHP_MD5_CRYPT, $ac_result, [Whether the system supports MD5 salt])
-
-- if test "$ac_cv_crypt_sha512" = "yes"; then
-+ if test "$ac_cv_crypt_SHA512" = "yes"; then
- ac_result=1
- ac_crypt_sha512=1
- else
-@@ -323,7 +323,7 @@
- fi
- AC_DEFINE_UNQUOTED(PHP_SHA512_CRYPT, $ac_result, [Whether the system supports SHA512 salt])
-
-- if test "$ac_cv_crypt_sha256" = "yes"; then
-+ if test "$ac_cv_crypt_SHA256" = "yes"; then
- ac_result=1
- ac_crypt_sha256=1
- else
+https://bugs.php.net/bug.php?id=67512
+
--- php-7.0.4.orig/ext/standard/crypt.c
+++ php-7.0.4/ext/standard/crypt.c
@@ -58,6 +58,7 @@