diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-05-26 07:32:48 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-05-26 07:32:48 +0000 |
commit | c4793b650579a0475e7d2e61d1530887962bdb7e (patch) | |
tree | 6f70342dbb20870e66935dd6dd37e48cb0575ffe /src/core/ngx_crypt.c | |
parent | ce2229e2f729ab26c0589236f21a951dbee6a3fe (diff) | |
download | nginx-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.c | 4 |
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 */ |