# HG changeset patch # User Igor Sysoev # Date 1306395168 0 # Node ID 14622ee4fa08f15780030d4ddd26dce1c56b50f4 # Parent 4823c636c705790e4f195849057cda644f4777ec fix building --without-http_auth_basic_module, the bug has been introduced in r3923 diff --git a/src/core/ngx_crypt.c b/src/core/ngx_crypt.c --- 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 } #endif /* NGX_HAVE_SHA1 */ + +#endif /* NGX_CRYPT */