com php-src: - Fixed bug #67827 (broken detection of system crypt sha256/sha512 support): ext/standard/config.m4
| From: | Felipe Pena | Date: | Tue, 17 Feb 2015 02:23:47 +0000 |
| Subject: | com php-src: - Fixed bug #67827 (broken detection of system crypt sha256/sha512 support): ext/standard/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84940@lists.php.net to get a copy of this message | ||
Commit: 8f9ab04d9340eea8415607cbfe06b6cbff131c95
Author: Felipe Pena <felipensp@gmail.com> Tue, 17 Feb 2015 00:23:47 -0200
Parents: e08bef442c63a3e0f9eac43d8f5e09213347d3ca
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8f9ab04d9340eea8415607cbfe06b6cbff131c95
Log:
- Fixed bug #67827 (broken detection of system crypt sha256/sha512 support)
Bugs:
https://bugs.php.net/67827
Changed paths:
M ext/standard/config.m4
Diff:
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index c1f5aff..edbda35 100644
--- a/ext/standard/config.m4
+++ b/ext/standard/config.m4
@@ -170,7 +170,7 @@ main() {
ac_cv_crypt_blowfish=no
])])
-AC_CACHE_CHECK(for SHA512 crypt, ac_cv_crypt_SHA512,[
+AC_CACHE_CHECK(for SHA512 crypt, ac_cv_crypt_sha512,[
AC_TRY_RUN([
#if HAVE_UNISTD_H
#include <unistd.h>
@@ -192,14 +192,14 @@ main() {
exit(0);
#endif
}],[
- ac_cv_crypt_SHA512=yes
+ ac_cv_crypt_sha512=yes
],[
- ac_cv_crypt_SHA512=no
+ ac_cv_crypt_sha512=no
],[
- ac_cv_crypt_SHA512=no
+ ac_cv_crypt_sha512=no
])])
-AC_CACHE_CHECK(for SHA256 crypt, ac_cv_crypt_SHA256,[
+AC_CACHE_CHECK(for SHA256 crypt, ac_cv_crypt_sha256,[
AC_TRY_RUN([
#if HAVE_UNISTD_H
#include <unistd.h>
@@ -221,11 +221,11 @@ main() {
exit(0);
#endif
}],[
- ac_cv_crypt_SHA256=yes
+ ac_cv_crypt_sha256=yes
],[
- ac_cv_crypt_SHA256=no
+ ac_cv_crypt_sha256=no
],[
- ac_cv_crypt_SHA256=no
+ ac_cv_crypt_sha256=no
])])