diff --git a/apache2/apache2_io.c b/apache2/apache2_io.c index 71900f03..e6f28b75 100644 --- a/apache2/apache2_io.c +++ b/apache2/apache2_io.c @@ -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)); } diff --git a/apache2/msc_crypt.c b/apache2/msc_crypt.c index eaff19ba..d1d810fa 100644 --- a/apache2/msc_crypt.c +++ b/apache2/msc_crypt.c @@ -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 *