fix
This commit is contained in:
parent
46dd1da5ef
commit
5e2f2ca1c4
|
@ -34,7 +34,7 @@ const wchar_t Parameters[] = L"\\Parameters";
|
|||
#define IMAGE_FILE_MACHINE_ARM64 0xAA64 // ARM64 Little-Endian
|
||||
#endif
|
||||
|
||||
#define WIN11_LATEST 26212 // <-----
|
||||
#define WIN11_LATEST 26217 // <-----
|
||||
#define SVR2025 26040
|
||||
#define WIN11_FIRST 22000
|
||||
#define SVR2022 20348
|
||||
|
|
|
@ -851,6 +851,9 @@ _FX NTSTATUS KphValidateCertificate()
|
|||
Verify_CertInfo.type = eCertEternal;
|
||||
Verify_CertInfo.level = eCertMaxLevel;
|
||||
}
|
||||
else if (_wcsicmp(level, L"LARGE") == 0 && cert_date.QuadPart < KphGetDate(1, 04, 2022)) {
|
||||
Verify_CertInfo.level = eCertStandard2;
|
||||
}
|
||||
else if (_wcsicmp(level, L"LARGE") == 0) { // 2 years - personal
|
||||
if(CERT_IS_TYPE(Verify_CertInfo, eCertPatreon))
|
||||
Verify_CertInfo.level = eCertStandard2;
|
||||
|
|
Loading…
Reference in New Issue