flush CachedDirectoryStoreProvider on X509Store changes (#48149)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Fri, 12 Feb 2021 04:38:30 +0000 (20:38 -0800)
committerGitHub <noreply@github.com>
Fri, 12 Feb 2021 04:38:30 +0000 (20:38 -0800)
commit9db2d1ddaa1a8a42d1f6d881779e475e71f6c1e8
treeba26240b2e8f760d9b27d6bf13e02bde48ffb503
parent10f20f8f4a35fbd4ca035170500b17a6ce94d19e
flush CachedDirectoryStoreProvider on X509Store changes (#48149)

* flush CachedDirectoryStoreProvider on X509Store changes

* reset _forceRefresh
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/TestHelper.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/CachedDirectoryStoreProvider.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/ChainPal.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/DirectoryBasedStoreProvider.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/OpenSslX509ChainProcessor.cs