From a924aa20210e7f26602f9ecb3822fb78a101e251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 25 Mar 2016 08:24:25 +0000 Subject: testing/php7: fix sha256/512 passwords ref #5141 --- testing/php7/fix-crypt.patch | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'testing/php7/fix-crypt.patch') 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 @@ -- cgit v1.2.3