mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-09-14 13:56:56 +08:00
1.1.1 -> 1.1.2 第51次更新
This commit is contained in:
parent
56cbb7ec09
commit
74f4494f45
@ -23,7 +23,13 @@ internal class NginxProc : Proc
|
|||||||
|
|
||||||
foreach (X509Certificate2 storedCert in certStore.Certificates)
|
foreach (X509Certificate2 storedCert in certStore.Certificates)
|
||||||
if (storedCert.Subject == MainConst.NginxRootCertSubjectName)
|
if (storedCert.Subject == MainConst.NginxRootCertSubjectName)
|
||||||
certStore.Remove(storedCert);
|
while (true)
|
||||||
|
try
|
||||||
|
{
|
||||||
|
certStore.Remove(storedCert);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
|
||||||
certStore.Close();
|
certStore.Close();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user