mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 10:44:25 +03:00
Avoids copy on the transformation operation
This commit is contained in:
@@ -36,7 +36,7 @@ Sha1::Sha1(const std::string &action)
|
||||
this->action_kind = 1;
|
||||
}
|
||||
|
||||
std::string Sha1::evaluate(std::string value,
|
||||
std::string Sha1::evaluate(const std::string &value,
|
||||
Transaction *transaction) {
|
||||
|
||||
return Utils::Sha1::digest(value);
|
||||
|
||||
Reference in New Issue
Block a user