moved macro

remotes/push_mirror/swebb/clamyara^2
Kevin Lin 11 years ago
parent a84ef0ccd8
commit ed67e2698e
  1. 2
      libclamav/matcher-pcre.h
  2. 4
      libclamav/readdb.c

@ -36,6 +36,8 @@
#include "mpool.h"
#include "regex_pcre.h"
#define PCRE_BYPASS "7374756c747a676574737265676578"
struct cli_pcre_refentry {
uint32_t lsigid[2];
struct cli_pcre_refentry *next;

@ -109,9 +109,6 @@ char *cli_virname(char *virname, unsigned int official)
return newname;
}
#if HAVE_PCRE
#define PCRE_BYPASS "7374756c747a676574737265676578"
#endif
int cli_parse_add(struct cli_matcher *root, const char *virname, const char *hexsig, uint16_t rtype, uint16_t type, const char *offset, uint8_t target, const uint32_t *lsigid, unsigned int options)
{
struct cli_bm_patt *bm_new;
@ -214,7 +211,6 @@ int cli_parse_add(struct cli_matcher *root, const char *virname, const char *hex
/* normal trigger */
cli_dbgmsg("pcre regex detected: %s on trigger: %s\n", wild, trigger);
exit(0);
#else
cli_errmsg("cli_parseadd(): cannot parse PCRE subsig ithout PCRE support\n");

Loading…
Cancel
Save