php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch php-5.3.8-crypt-tests.patch for hash related Bug #60292Patch version 2011-11-14 09:36 UTC Return to Bug #60292 | Download this patchThis patch renders other patches obsolete Obsolete patches: Patch Revisions: 2011-11-14 09:36 UTC | 2011-11-14 09:28 UTCDeveloper: 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,30 @@ AC_TRY_RUN([ @@ -213,28 +218,31 @@ AC_TRY_RUN([ main() { #if HAVE_CRYPT - char salt[30], answer[80]; +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" || |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Fri Apr 26 08:01:30 2024 UTC |