php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60292
Patch php-5.3.8-crypt-tests.patch revision 2011-11-14 09:36 UTC by pgajdos at suse dot cz
revision 2011-11-14 09:28 UTC by pgajdos at suse dot cz

Patch php-5.3.8-crypt-tests.patch for hash related Bug #60292

Patch version 2011-11-14 09:28 UTC

Return to Bug #60292 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions: 2011-11-14 09:36 UTC | 2011-11-14 09:28 UTC

Developer: pgajdos@suse.cz



  +AC_CACHE_CHECK(for SHA256 crypt, ac_cv_crypt_sha256,[
   AC_TRY_RUN([
   #if HAVE_UNISTD_H
   #include <unistd.h>
 @@ -213,28 +218,31 @@ AC_TRY_RUN([
 @@ -213,28 +218,30 @@ AC_TRY_RUN([
   
   main() {
   #if HAVE_CRYPT
  -    char salt[30], answer[80];
Line 92 (now 92), was 9 lines, now 8 lines

  +dnl If one of them or crypt_r() is missing, use our own implementation, portable code is then possible
   dnl
  -if test "$ac_cv_crypt_blowfish" = "no" || test "$ac_cv_crypt_des" = "no" || test "$ac_cv_crypt_ext_des" = "no" || test "x$php_crypt_r" = "x0"; then
  +if test "$ac_cv_crypt_des" = "no" ||  
 +   test "$ac_cv_crypt_ext_des" = "no" ||
  +   test "$ac_cv_crypt_md5" = "no" ||
  +   test "$ac_cv_crypt_blowfish" = "no" || 
  +   test "$ac_cv_crypt_sha512" = "no" ||
  +   test "$ac_cv_crypt_sha256" = "no" ||
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 12:01:27 2024 UTC