annotate src/os/win32/ngx_user.c @ 3587:e1409e56ba7c
stable-0.7
merge r3473, r3474, r3385, r3386, r3537:
signal processing stability:
*) use sys_errlist[] in signal handler instead
of non Async-Signal-Safe strerror_r()
*) do not update time in the timer signal handler,
since localtime_r() is not Async-Signal-Safe function
*) use previously cached GMT offset value to update time from a signal handler
*) change ngx_time_update() interface since there are no notification methods
those return time
*) introduce ngx_time_sigsafe_update() to update the error log time only
*) change ngx_time_update() interface
author |
Igor Sysoev <igor@sysoev.ru> |
date |
Mon, 07 Jun 2010 10:35:08 +0000 |
parents |
b1648294f693 |
children |
9c057d5e1c27 |
rev |
line source |
503
|
1 /*
|
|
2 * Copyright (C) Igor Sysoev
|
|
3 */
|
|
4
|
|
5
|
|
6 #include <ngx_config.h>
|
|
7 #include <ngx_core.h>
|
|
8
|
|
9
|
|
10 #if (NGX_CRYPT)
|
|
11
|
|
12 ngx_int_t
|
|
13 ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
|
|
14 {
|
|
15 /* STUB: a plain text password */
|
|
16
|
|
17 *encrypted = key;
|
|
18
|
|
19 return NGX_OK;
|
|
20 }
|
|
21
|
|
22 #endif /* NGX_CRYPT */
|