summaryrefslogtreecommitdiffstats
path: root/main/php/fix-crypt-sha.patch
blob: db05584ead34b4b0a748014c09de1b4a08a3c351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./ext/standard/config.m4.orig
+++ ./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