Changes the operator evaluate method to only support two arguments

Second argument can be empty if there is not need for it.
This commit is contained in:
Felipe Zimmerle
2015-12-18 15:20:46 -03:00
parent 215c4d1071
commit ac10d8863c
22 changed files with 20 additions and 35 deletions

View File

@@ -22,7 +22,7 @@
namespace modsecurity {
namespace operators {
bool VerifyCPF::evaluate(Assay *assay) {
bool VerifyCPF::evaluate(Assay *assay, const std::string &str) {
/**
* @todo Implement the operator VerifyCPF.
* Reference: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#verifyCPF