From 06ba872de7ef581d78527f6362bbfc596d2105db Mon Sep 17 00:00:00 2001 From: Liu Dongmiao Date: Mon, 21 Mar 2022 20:12:42 +0800 Subject: [PATCH] use msc_init to check modsecurity printf is not part of modsecurity, and may not work with -Werror --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index c6e7467..0b130b7 100644 --- a/config +++ b/config @@ -12,7 +12,7 @@ ngx_feature_name= ngx_feature_run=no ngx_feature_incs="#include " ngx_feature_libs="-lmodsecurity" -ngx_feature_test='printf("hello");' +ngx_feature_test='msc_init();' ngx_modsecurity_opt_I= ngx_modsecurity_opt_L=