aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_crypt.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-05-26 07:32:48 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-05-26 07:32:48 +0000
commitc4793b650579a0475e7d2e61d1530887962bdb7e (patch)
tree6f70342dbb20870e66935dd6dd37e48cb0575ffe /src/core/ngx_crypt.c
parentce2229e2f729ab26c0589236f21a951dbee6a3fe (diff)
downloadnginx-c4793b650579a0475e7d2e61d1530887962bdb7e.tar.gz
nginx-c4793b650579a0475e7d2e61d1530887962bdb7e.zip
fix building --without-http_auth_basic_module,
the bug has been introduced in r3923
Diffstat (limited to 'src/core/ngx_crypt.c')
-rw-r--r--src/core/ngx_crypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_crypt.c b/src/core/ngx_crypt.c
index 2538cfcf4..029a48529 100644
--- a/src/core/ngx_crypt.c
+++ b/src/core/ngx_crypt.c
@@ -12,6 +12,8 @@
#endif
+#if (NGX_CRYPT)
+
static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt,
u_char **encrypted);
static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt,
@@ -232,3 +234,5 @@ ngx_crypt_ssha(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
}
#endif /* NGX_HAVE_SHA1 */
+
+#endif /* NGX_CRYPT */