Update verify_ssn.cc to fix new format

Fixes https://github.com/SpiderLabs/ModSecurity/issues/2970
This commit is contained in:
jakubsuchy 2023-08-21 10:37:27 -04:00 committed by GitHub
parent 60f802e480
commit 70867513a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ bool VerifySSN::verify(const char *ssnumber, int len) {
goto invalid; goto invalid;
/* More tests */ /* More tests */
if (area >= 740 || area == 666) if (area == 666)
goto invalid; goto invalid;
return true; return true;