hold ref to temp keychain on OSX to avoild premature cleanup (#41787)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Fri, 4 Sep 2020 18:31:14 +0000 (11:31 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Sep 2020 18:31:14 +0000 (11:31 -0700)
commit546330145ce0617aa91b923e78fc0e275f0fbb82
tree8fb2c78d682f1843b0e33342a9e396015ee468d6
parent964766ade955ca2f5fed6988dfdbeaf41f65d5a3
hold ref to temp keychain on OSX to avoild premature cleanup (#41787)

* hold ref to temp keychain on OSX to avoild premature cleanup

* feedback from review
src/libraries/Common/src/Interop/OSX/System.Security.Cryptography.Native.Apple/Interop.Keychain.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/AppleCertificatePal.Pkcs12.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/AppleCertificatePal.cs