mirror of
https://github.com/nginx/nginx.git
synced 2024-12-15 21:39:00 +08:00
4d656dcd0b
*) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
23 lines
297 B
C
23 lines
297 B
C
/*
|
|
* Copyright (C) Igor Sysoev
|
|
*/
|
|
|
|
|
|
#include <ngx_config.h>
|
|
#include <ngx_core.h>
|
|
|
|
|
|
#if (NGX_CRYPT)
|
|
|
|
ngx_int_t
|
|
ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
|
|
{
|
|
/* STUB: a plain text password */
|
|
|
|
*encrypted = key;
|
|
|
|
return NGX_OK;
|
|
}
|
|
|
|
#endif /* NGX_CRYPT */
|