mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fix NetBSD build by renaming the hmac function to avoid conflicts
This commit is contained in:
@@ -27,8 +27,13 @@
|
||||
#define INT32_MAX (2147483647)
|
||||
#endif
|
||||
|
||||
#ifdef __NetBSD__
|
||||
char DSOLOCAL *mschmac(modsec_rec *msr, const char *key, int key_len,
|
||||
unsigned char *msg, int msglen);
|
||||
#else
|
||||
char DSOLOCAL *hmac(modsec_rec *msr, const char *key, int key_len,
|
||||
unsigned char *msg, int msglen);
|
||||
#endif
|
||||
char DSOLOCAL *do_hash_link(modsec_rec *msr, char *link,
|
||||
int type);
|
||||
char DSOLOCAL *getkey(apr_pool_t *mp);
|
||||
|
Reference in New Issue
Block a user