summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-05-16 14:54:50 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-05-16 14:54:50 +0000
commit5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1 (patch)
tree37bc6eae1d5fa69c41621d03f93d06fb5e7d9dd9 /auto/modules
parentffc72712505da246d7d55300f71693e55a36957d (diff)
downloadnginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.tar.gz
nginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.tar.bz2
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
patch by Maxim Dounin
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules2
1 files changed, 2 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 9ac1ddd07..80c557c2b 100644
--- a/auto/modules
+++ b/auto/modules
@@ -197,6 +197,8 @@ if [ $HTTP_RANDOM_INDEX = YES ]; then
fi
if [ $HTTP_AUTH_BASIC = YES ]; then
+ USE_MD5=YES
+ USE_SHA1=YES
have=NGX_CRYPT . auto/have
HTTP_MODULES="$HTTP_MODULES $HTTP_AUTH_BASIC_MODULE"
HTTP_SRCS="$HTTP_SRCS $HTTP_AUTH_BASIC_SRCS"