mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 14:05:52 +03:00
[GH-ISSUE #8] Failure to compile in CentOS/RHEL 6 or 7 #139
Labels
No labels
MacOS
Nginx
OpenResty
Tengine
bug
documentation
enhancement
needs-investigation
pull-request
question
stale
stale
stale
timeout
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ngx_waf#139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dvershinin on GitHub (Oct 24, 2020).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/8
If we compile NGINX with system libraries for OpenSSL, it eventually seems to include a file that has the same constant already defined, then compilation fails:
In CentOS/RHEL 8, this does not happen for whatever reason...although the related files
/usr/include/krb5/krb5.hhas same "fences":I think similar things should be added over to
inc/ngx_http_waf_module_macro.h?@ADD-SP commented on GitHub (Oct 25, 2020):
Oh~, that's a cheap mistake, since I'm not following the relevant C coding standards. I have corrected the code to avoid a similar bug. Thanks for reminding.