Update files from Source Depot changeset [SD:704605]

Corresponds to 75764b265885c1a346d1b2dbcb281d61b71c5b31 in psl-monad.
This commit is contained in:
PowerShell Team authored and Andrew Schwartzmeyer committed 2016-05-18 17:41:26 -07:00
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;