]> granicus.if.org Git - apache/commitdiff
Merge 1710403 from trunk:
authorRainer Jung <rjung@apache.org>
Thu, 15 Mar 2018 23:05:58 +0000 (23:05 +0000)
committerRainer Jung <rjung@apache.org>
Thu, 15 Mar 2018 23:05:58 +0000 (23:05 +0000)
htpasswd/htdigest: Disable support for bcrypt on EBCDIC platforms.
apr-util's bcrypt implementation doesn't tolerate EBCDIC.

Submitted by: rjung
Reviewed by: rjung, covener, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1826892 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
support/passwd_common.h

diff --git a/CHANGES b/CHANGES
index 8275ca0540a86c61233a70659e5b9e8a5fe75d58..da634c676faecd5a2e21db2c0b89b5396da4399a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -9,6 +9,11 @@ Changes with Apache 2.4.33
   *) ab: Use only one connection to determine working destination socket
      address.  [Jan Kaluza]
 
+  *) ab: LibreSSL doesn't have or require Windows applink.c.  [Gregg L. Smith]
+
+  *) htpasswd/htdigest: Disable support for bcrypt on EBCDIC platforms. 
+     apr-util's bcrypt implementation doesn't tolerate EBCDIC.  [Eric Covener]
+
   *) htpasswd/htdbm: report the right limit when get_password() overflows.
      [Yann Ylavic]
 
@@ -19,8 +24,6 @@ Changes with Apache 2.4.33
      to make static analysers happy.  PR 60634.
      [Yann Ylavic, reported by shqking and Zhenwei Zou]
 
-  *) ab: LibreSSL doesn't have or require Windows applink.c.  [Gregg L. Smith]
-
 Changes with Apache 2.4.32
 
   *) mod_access_compat: Fail if a comment is found in an Allow or Deny
diff --git a/STATUS b/STATUS
index badfb746cb01c9c7ebaea875e26f04cd1880b5b0..c8ed5ffd72987908f23db151c3de67dc89afdb50 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -140,15 +140,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
      2.4.x patch: svn merge -c 1666415,1780308 ^/httpd/httpd/trunk .
      +1: rjung, covener, ylavic
 
-  *) htpasswd/htdigest: Disable support for bcrypt on EBCDIC platforms.
-     apr-util's bcrypt implementation doesn't tolerate EBCDIC.
-     This brings 2.4.x passwd_common.h in sync with trunk.
-     trunk patch: http://svn.apache.org/r1710403
-     2.4.x patch: svn merge -c 1710403 ^/httpd/httpd/trunk .
-                  minus second unrelated CHANGES entry
-     +1: rjung, covener, ylavic
-
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index 01d565202429f35f4de64cedf05ae9b87c86f23a..660081e9084935ef3c79ca565db7ff021ec72053 100644 (file)
 #define BCRYPT_ALGO_SUPPORTED 0
 #endif
 
+#if APR_CHARSET_EBCDIC
+#undef BCRYPT_ALGO_SUPPORTED
+#define BCRYPT_ALGO_SUPPORTED 0
+#endif
+
 /*
  * Must be initialized with apr_file_open_stderr() before using any of the
  * below functions.