mirror of
https://github.com/nginx/nginx.git
synced 2024-12-16 14:19:00 +08:00
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 */
|