diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-03-25 08:24:25 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-25 08:24:25 +0000 |
commit | a924aa20210e7f26602f9ecb3822fb78a101e251 (patch) | |
tree | 01ac3090d29bd7e6224ebe97143308c3dd308833 /testing/php7/fix-crypt.patch | |
parent | 13863cc1f5f194a380e822e4dd6a6f548864f6b0 (diff) | |
download | aports-a924aa20210e7f26602f9ecb3822fb78a101e251.tar.bz2 aports-a924aa20210e7f26602f9ecb3822fb78a101e251.tar.xz |
testing/php7: fix sha256/512 passwords
ref #5141
Diffstat (limited to 'testing/php7/fix-crypt.patch')
-rw-r--r-- | testing/php7/fix-crypt.patch | 22 |
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 @@ |