]> git.kaiwu.me - nginx.git/commitdiff
fix building --without-http_auth_basic_module,
authorIgor Sysoev <igor@sysoev.ru>
Thu, 26 May 2011 07:32:48 +0000 (07:32 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 26 May 2011 07:32:48 +0000 (07:32 +0000)
the bug has been introduced in r3923

src/core/ngx_crypt.c

index 2538cfcf4a45155f40ee49da3a81bf5c0e10c39f..029a48529f0dfde64206355b8ddf8e2d6c4f1f72 100644 (file)
@@ -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 */