mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 10:20:35 +03:00
Revert "Adds suppor for HyperScan in the bulid system"
This reverts commit 912704b6d4.
This commit is contained in:
@@ -34,17 +34,11 @@ class Pm : public Operator {
|
||||
/** @ingroup ModSecurity_Operator */
|
||||
explicit Pm(std::unique_ptr<RunTimeString> param)
|
||||
: Operator("Pm", std::move(param)) {
|
||||
#ifdef WITH_HS
|
||||
#else
|
||||
m_p = acmp_create(0);
|
||||
#endif
|
||||
}
|
||||
explicit Pm(const std::string &n, std::unique_ptr<RunTimeString> param)
|
||||
: Operator(n, std::move(param)) {
|
||||
#ifdef WITH_HS
|
||||
#else
|
||||
m_p = acmp_create(0);
|
||||
#endif
|
||||
}
|
||||
~Pm();
|
||||
bool evaluate(Transaction *transaction, RuleWithActions *rule,
|
||||
@@ -53,23 +47,17 @@ class Pm : public Operator {
|
||||
|
||||
|
||||
bool init(const std::string &file, std::string *error) override;
|
||||
#ifndef WITH_HS
|
||||
void postOrderTraversal(acmp_btree_node_t *node);
|
||||
void cleanup(acmp_node_t *n);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
#ifndef WITH_HS
|
||||
ACMP *m_p;
|
||||
#endif
|
||||
|
||||
#ifdef MODSEC_MUTEX_ON_PM
|
||||
|
||||
private:
|
||||
#ifndef WITH_HS
|
||||
#ifdef MODSEC_MUTEX_ON_PM
|
||||
pthread_mutex_t m_lock;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user