forked frommicrosoft/ModSecurity
- Notifications
You must be signed in to change notification settings - Fork0
Commita235b53
Felipe Zimmerle
Fix apr_crypto.h include in modsecurity.h and msc_remote_rules.c
apr_crypto is not always available, configure scripts are looking forit and setting WITH_APU_CRYPTO in case it is found. There were twoplaces where apr_crypto.h was included without validating ifWITH_APU_CRYPTO was set. This patch removes the inclusion from thefirst place (it seems not to be mandatory) and add the check forWITH_APU_CRYPTO in the second one. This fix issueowasp-modsecurity#834.1 parent2e09b8e commita235b53
3 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments
Comments
(0)