From 70867513a155e1d275f46a053f755dc80149dc82 Mon Sep 17 00:00:00 2001 From: jakubsuchy Date: Mon, 21 Aug 2023 10:37:27 -0400 Subject: [PATCH] Update verify_ssn.cc to fix new format Fixes https://github.com/SpiderLabs/ModSecurity/issues/2970 --- src/operators/verify_ssn.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operators/verify_ssn.cc b/src/operators/verify_ssn.cc index 59a36dd78f..457fdc6477 100644 --- a/src/operators/verify_ssn.cc +++ b/src/operators/verify_ssn.cc @@ -100,7 +100,7 @@ bool VerifySSN::verify(const char *ssnumber, int len) { goto invalid; /* More tests */ - if (area >= 740 || area == 666) + if (area == 666) goto invalid; return true;