1.11.0b
This commit is contained in:
parent
dbb01ef7cf
commit
d870afd192
|
@ -770,6 +770,9 @@ _FX NTSTATUS KphValidateCertificate()
|
||||||
Verify_CertInfo.level = eCertMaxLevel;
|
Verify_CertInfo.level = eCertMaxLevel;
|
||||||
}
|
}
|
||||||
else if (level && _wcsicmp(level, L"LARGE") == 0) { // 2 years - personal
|
else if (level && _wcsicmp(level, L"LARGE") == 0) { // 2 years - personal
|
||||||
|
if(CERT_IS_TYPE(Verify_CertInfo, eCertPatreon))
|
||||||
|
Verify_CertInfo.level = eCertStandard2;
|
||||||
|
else
|
||||||
Verify_CertInfo.level = eCertAdvanced;
|
Verify_CertInfo.level = eCertAdvanced;
|
||||||
expiration_date.QuadPart = cert_date.QuadPart + KphGetDateInterval(0, 0, 2); // 2 years
|
expiration_date.QuadPart = cert_date.QuadPart + KphGetDateInterval(0, 0, 2); // 2 years
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,6 @@ void COptionsWindow::CreateGeneral()
|
||||||
COptionsWindow__AddCertIcon(ui.chkConfidential, true);
|
COptionsWindow__AddCertIcon(ui.chkConfidential, true);
|
||||||
if (!CERT_IS_LEVEL(g_CertInfo, eCertAdvanced)) {
|
if (!CERT_IS_LEVEL(g_CertInfo, eCertAdvanced)) {
|
||||||
COptionsWindow__AddCertIcon(ui.chkEncrypt, true);
|
COptionsWindow__AddCertIcon(ui.chkEncrypt, true);
|
||||||
COptionsWindow__AddCertIcon(ui.chkAllowEfs, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue