nginx: disable additional entry in feature test

Disable additional entry in feature test probably added in new version
of Nginx and never notice. Also declare "no" instead of empty value for
cc test.

While at it also refresh the patch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi
2024-10-03 17:06:32 +02:00
parent 11a5d0bd98
commit 782f056051
2 changed files with 10 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
ngx_feature="C compiler" ngx_feature="C compiler"
ngx_feature_name= ngx_feature_name=
- ngx_feature_run=yes - ngx_feature_run=yes
+ ngx_feature_run= + ngx_feature_run=no
ngx_feature_incs= ngx_feature_incs=
ngx_feature_path= ngx_feature_path=
ngx_feature_libs= ngx_feature_libs=
@@ -72,6 +72,15 @@
ngx_feature="prctl(PR_SET_DUMPABLE)" ngx_feature="prctl(PR_SET_DUMPABLE)"
ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE" ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE"
-ngx_feature_run=yes -ngx_feature_run=yes
+ngx_feature_run=no
ngx_feature_incs="#include <sys/prctl.h>"
ngx_feature_path=
ngx_feature_libs=
@@ -186,7 +186,7 @@ ngx_feature_test="if (prctl(PR_SET_DUMPA
ngx_feature="prctl(PR_SET_KEEPCAPS)"
ngx_feature_name="NGX_HAVE_PR_SET_KEEPCAPS"
-ngx_feature_run=yes
+ngx_feature_run=no +ngx_feature_run=no
ngx_feature_incs="#include <sys/prctl.h>" ngx_feature_incs="#include <sys/prctl.h>"
ngx_feature_path= ngx_feature_path=

View File

@@ -9,4 +9,3 @@
&& EVP_CipherUpdate(ctx, NULL, &len, NULL, in->len) != 1) && EVP_CipherUpdate(ctx, NULL, &len, NULL, in->len) != 1)
{ {
ngx_ssl_error(NGX_LOG_INFO, log, 0, "EVP_CipherUpdate() failed"); ngx_ssl_error(NGX_LOG_INFO, log, 0, "EVP_CipherUpdate() failed");