mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Update files from Source Depot changeset [SD:704605]
Corresponds to 75764b265885c1a346d1b2dbcb281d61b71c5b31 in psl-monad.
This commit is contained in:
1 parent
04c4f5c97b
commit
d9bf6b037f
35 files changed
+5961
-244
No files matched your search
@@ -1930,9 +1930,9 @@ namespace Microsoft.PowerShell.Commands
|
||||
private void RemoveCertStore(string storeName, bool fDeleteKey, string sourcePath)
|
||||
{
|
||||
//if recurse is true, remove every cert in the store
|
||||
string localName = Security.NativeMethods.CryptFindLocalizedName(storeName);
|
||||
IntPtr localName = Security.NativeMethods.CryptFindLocalizedName(storeName);
|
||||
string[] pathElements = GetPathElements(sourcePath);
|
||||
if (null == localName)//not find, we can remove
|
||||
if (IntPtr.Zero == localName)//not find, we can remove
|
||||
{
|
||||
X509NativeStore store = null;
|
||||
|
||||
|
||||
Reference in new issue
Block a user