mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
fix building --without-http_auth_basic_module,
the bug has been introduced in r3923
This commit is contained in:
parent
ce2229e2f7
commit
c4793b6505
@ -12,6 +12,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if (NGX_CRYPT)
|
||||||
|
|
||||||
static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt,
|
static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt,
|
||||||
u_char **encrypted);
|
u_char **encrypted);
|
||||||
static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt,
|
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_HAVE_SHA1 */
|
||||||
|
|
||||||
|
#endif /* NGX_CRYPT */
|
||||||
|
Loading…
Reference in New Issue
Block a user