Removed more remnants of the old pthread implementation.

After e284f3ff6831, ngx_crypt() can no longer return NGX_AGAIN.
This commit is contained in:
Ruslan Ermilov
2017-09-18 11:09:41 +03:00
parent 99cc4c72c7
commit 05e87e19af
2 changed files with 15 additions and 65 deletions

View File

@@ -9,16 +9,6 @@
#include <ngx_core.h>
/*
* Solaris has thread-safe crypt()
* Linux has crypt_r(); "struct crypt_data" is more than 128K
* FreeBSD needs the mutex to protect crypt()
*
* TODO:
* ngx_crypt_init() to init mutex
*/
#if (NGX_CRYPT)
#if (NGX_HAVE_GNU_CRYPT_R)