From 05b4010efc52fb90149be01a5cfc321aba273425 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Wed, 15 Feb 2023 11:43:44 +0000 Subject: configure: Assume crypt() does not support SHA-2 when cross-compiling. Can be forced with "./configure ap_cv_crypt_sha2=yes ..." still. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907672 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 4989ec3404..daaae7d200 100644 --- a/configure.in +++ b/configure.in @@ -519,7 +519,7 @@ if test "$ac_cv_search_crypt" != "no"; then ]], [char *result = crypt(PASSWD_0, SALT_0); if (!result) return 1; if (strcmp(result, EXPECT_0)) return 2; -])], [ap_cv_crypt_sha2=yes], [ap_cv_crypt_sha2=no])]) +])], [ap_cv_crypt_sha2=yes], [ap_cv_crypt_sha2=no], [ap_cv_crypt_sha2=no])]) if test "$ap_cv_crypt_sha2" = yes; then AC_DEFINE([HAVE_CRYPT_SHA2], 1, [Define if crypt() supports SHA-2 hashes]) fi -- cgit v1.2.3