aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_user.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-05-16 14:54:50 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-05-16 14:54:50 +0000
commit5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1 (patch)
tree37bc6eae1d5fa69c41621d03f93d06fb5e7d9dd9 /src/os/unix/ngx_user.c
parentffc72712505da246d7d55300f71693e55a36957d (diff)
downloadnginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.tar.gz
nginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.zip
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
patch by Maxim Dounin
Diffstat (limited to 'src/os/unix/ngx_user.c')
-rw-r--r--src/os/unix/ngx_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_user.c b/src/os/unix/ngx_user.c
index 165c6a46b..c46fb2bfd 100644
--- a/src/os/unix/ngx_user.c
+++ b/src/os/unix/ngx_user.c
@@ -23,7 +23,7 @@
#if (NGX_HAVE_GNU_CRYPT_R)
ngx_int_t
-ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
+ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
{
char *value;
size_t len;
@@ -58,7 +58,7 @@ ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
#else
ngx_int_t
-ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
+ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
{
char *value;
size_t len;