aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_auth_basic_module.c
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 /src/http/modules/ngx_http_auth_basic_module.c
parentffc72712505da246d7d55300f71693e55a36957d (diff)
downloadnginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.tar.gz
nginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.zip
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
patch by Maxim Dounin
Diffstat (limited to 'src/http/modules/ngx_http_auth_basic_module.c')
-rw-r--r--src/http/modules/ngx_http_auth_basic_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_auth_basic_module.c b/src/http/modules/ngx_http_auth_basic_module.c
index c6b7f92f1..45168de84 100644
--- a/src/http/modules/ngx_http_auth_basic_module.c
+++ b/src/http/modules/ngx_http_auth_basic_module.c
@@ -7,6 +7,7 @@
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
+#include <ngx_crypt.h>
#define NGX_HTTP_AUTH_BUF_SIZE 2048