Change names of HMAC feature to HASH

This commit is contained in:
Breno Silva 2012-10-30 18:17:51 -04:00
parent 5f98d8008e
commit 208d9d3a93
2 changed files with 8 additions and 8 deletions

View File

@ -597,9 +597,9 @@ static int flatten_response_body(modsec_rec *msr) {
retval = init_response_body_html_parser(msr);
if(retval == 1) {
retval = encrypt_response_body_links(msr);
retval = hash_response_body_links(msr);
if(retval > 0) {
retval = inject_encrypted_response_body(msr, retval);
retval = inject_hashed_response_body(msr, retval);
if (msr->txcfg->debuglog_level >= 4) {
msr_log(msr, 4, "Hash completed in %" APR_TIME_T_FMT " usec.", (apr_time_now() - time1));
}

View File

@ -369,7 +369,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
error_msg = apr_psprintf(msr->mp,
"Execution error - "
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
em[i]->param,rc, my_error_msg);
if (msr->txcfg->debuglog_level >= 4)
@ -424,7 +424,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
error_msg = apr_psprintf(msr->mp,
"Execution error - "
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
em[i]->param,rc, my_error_msg);
if (msr->txcfg->debuglog_level >= 4)
@ -479,7 +479,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
error_msg = apr_psprintf(msr->mp,
"Execution error - "
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
em[i]->param,rc, my_error_msg);
if (msr->txcfg->debuglog_level >= 4)
@ -534,7 +534,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
error_msg = apr_psprintf(msr->mp,
"Execution error - "
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
em[i]->param,rc, my_error_msg);
if (msr->txcfg->debuglog_level >= 4)
@ -589,7 +589,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
error_msg = apr_psprintf(msr->mp,
"Execution error - "
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
em[i]->param,rc, my_error_msg);
if (msr->txcfg->debuglog_level >= 4)
@ -617,7 +617,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
}
/**
* \brief Encrypt the html elements
* \brief Hash the html elements
*
* \param msr ModSecurity transaction resource
*