"sigerror_ok" and "sigerror_requires" were not being reset after each
rule which could lead to a rule load error being incorrectly tracked
as skipped rather than failed.
Also initialize "skippedsigs" to 0 along with "goodsigs" and
"badsigs", while not directly related to this issue, could also throw
off some stats.
Ticket: #6710
(*goodsigs) = 0;
(*badsigs) = 0;
+ (*skippedsigs) = 0;
FILE *fp = fopen(sig_file, "r");
if (fp == NULL) {
SCEnter();
uint32_t oldsignum = de_ctx->signum;
+ de_ctx->sigerror_ok = false;
de_ctx->sigerror_silent = false;
+ de_ctx->sigerror_requires = false;
Signature *sig;