summaryrefslogtreecommitdiffstats
path: root/support/passwd_common.h
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2015-10-25 01:37:10 +0200
committerEric Covener <covener@apache.org>2015-10-25 01:37:10 +0200
commit435859e8753cbac89e3aa985b41d4ebb84457ee3 (patch)
treebf7bcd8dcc98155906911c1ed140b0b5c501b9b9 /support/passwd_common.h
parentfollowup to r1710380 -- refactored name and didn't have 'make depend' (diff)
downloadapache2-435859e8753cbac89e3aa985b41d4ebb84457ee3.tar.xz
apache2-435859e8753cbac89e3aa985b41d4ebb84457ee3.zip
block bcrypt on EBCDIC -- lots of ascii-isms in apr-util's bcrypt.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1710403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/passwd_common.h')
-rw-r--r--support/passwd_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/passwd_common.h b/support/passwd_common.h
index 01d5652024..660081e908 100644
--- a/support/passwd_common.h
+++ b/support/passwd_common.h
@@ -66,6 +66,11 @@
#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.