From 05e87e19aff42a75a290b99f5684a73dbd38a329 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 18 Sep 2017 11:09:41 +0300 Subject: Removed more remnants of the old pthread implementation. After e284f3ff6831, ngx_crypt() can no longer return NGX_AGAIN. --- src/os/unix/ngx_user.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/os/unix/ngx_user.c') diff --git a/src/os/unix/ngx_user.c b/src/os/unix/ngx_user.c index 27c76ef80..7ebe2b576 100644 --- a/src/os/unix/ngx_user.c +++ b/src/os/unix/ngx_user.c @@ -9,16 +9,6 @@ #include -/* - * 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) -- cgit v1.2.3