mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Renaming GSB functions
This commit is contained in:
@@ -1114,7 +1114,7 @@ static int verify_gsb(gsb_db *gsb, modsec_rec *msr, const char *match, unsigned
|
|||||||
hash = apr_psprintf(msr->mp, "%s", bytes2hex(msr->mp, digest, 16));
|
hash = apr_psprintf(msr->mp, "%s", bytes2hex(msr->mp, digest, 16));
|
||||||
|
|
||||||
if ((hash != NULL) && (gsb->gsb_table != NULL)) {
|
if ((hash != NULL) && (gsb->gsb_table != NULL)) {
|
||||||
search = apr_table_get(gsb->gsb_table, hash);
|
search = apr_hash_get(gsb->gsb_table, hash, APR_HASH_KEY_STRING);
|
||||||
|
|
||||||
if (search != NULL)
|
if (search != NULL)
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user