Update verify.c

[skipci]
This commit is contained in:
DavidXanatos 2024-05-17 18:21:11 +02:00
parent 1be0c2a26d
commit 6bebe97760
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ _FX NTSTATUS KphValidateCertificate()
Verify_CertInfo.level = eCertMaxLevel;
}
else if (_wcsicmp(level, L"LARGE") == 0 && cert_date.QuadPart < KphGetDate(1, 04, 2022)) {
Verify_CertInfo.level = eCertAdvanced;
Verify_CertInfo.level = eCertStandard2;
}
else if (_wcsicmp(level, L"LARGE") == 0) { // 2 years - personal
if(CERT_IS_TYPE(Verify_CertInfo, eCertPatreon))