comparison src/core/ngx_crypt.c @ 3926:14622ee4fa08

fix building --without-http_auth_basic_module, the bug has been introduced in r3923
author Igor Sysoev <igor@sysoev.ru>
date Thu, 26 May 2011 07:32:48 +0000
parents 9c057d5e1c27
children 105841a157b9
comparison
equal deleted inserted replaced
3925:4823c636c705 3926:14622ee4fa08
9 #include <ngx_md5.h> 9 #include <ngx_md5.h>
10 #if (NGX_HAVE_SHA1) 10 #if (NGX_HAVE_SHA1)
11 #include <ngx_sha1.h> 11 #include <ngx_sha1.h>
12 #endif 12 #endif
13 13
14
15 #if (NGX_CRYPT)
14 16
15 static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt, 17 static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt,
16 u_char **encrypted); 18 u_char **encrypted);
17 static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt, 19 static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt,
18 u_char **encrypted); 20 u_char **encrypted);
230 232
231 return NGX_OK; 233 return NGX_OK;
232 } 234 }
233 235
234 #endif /* NGX_HAVE_SHA1 */ 236 #endif /* NGX_HAVE_SHA1 */
237
238 #endif /* NGX_CRYPT */