Browse code

fix ssn_count check

git-svn: trunk@4152

Tomasz Kojm authored on 2008/08/30 05:55:07
Showing 1 changed files
... ...
@@ -1596,7 +1596,7 @@ static int cli_scan_structured(int desc, cli_ctx *ctx)
1596 1596
 	return CL_VIRUS;
1597 1597
     }
1598 1598
 
1599
-    if(ssn_count != 0 && ssn_count > lim->min_ssn_count) {
1599
+    if(ssn_count != 0 && ssn_count >= lim->min_ssn_count) {
1600 1600
 	cli_dbgmsg("cli_scan_structured: %u social security numbers detected\n", ssn_count);
1601 1601
 	*ctx->virname = "Structured.SSN";
1602 1602
 	return CL_VIRUS;