mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Adds SecRemoteRules as an build option
SecRemoteRules adds a new dependency to libcurl. Before only mlogc was depending on libcurl. SecRemoteRules also depends on the apr-tools with crypto support, which (as reported by our buildbots) is not default in some environments such as: MacOS X. This commit disable SecRemoteRules support if apr-tools was not compiled with crypto support.
This commit is contained in:
@@ -26,9 +26,7 @@
|
||||
#define AP_MAX_ARGC 64
|
||||
#endif
|
||||
|
||||
#ifndef APU_HAVE_CRYPTO
|
||||
#error Missing apu crypto module
|
||||
#endif
|
||||
#ifdef WITH_REMOTE_RULES_SUPPORT
|
||||
|
||||
/**
|
||||
* @brief Insert a new SecRule to be processed by ModSecurity
|
||||
@@ -716,3 +714,4 @@ end:
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user