You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Windows/CertificatePal.PrivateKey.cs
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -245,7 +245,6 @@ public ICertificatePal CopyWithPrivateKey(RSA rsa)
245
245
outkeySpec,
246
246
outfreeKey))
247
247
{
248
-
intdwErrorCode=Marshal.GetLastWin32Error();
249
248
250
249
// The documentation for CryptAcquireCertificatePrivateKey says that freeKey
251
250
// should already be false if "key acquisition fails", and it can be presumed
0 commit comments