Renaming GSB functions

This commit is contained in:
brenosilva
2011-05-31 02:05:19 +00:00
parent c8d2921051
commit 646564cd4f

View File

@@ -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;