diff options
author | Martin Baulig <martin.baulig@xamarin.com> | 2017-02-08 19:12:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 19:12:02 +0300 |
commit | 8b18c8428913c655087929903e830abdbd0bf01c (patch) | |
tree | 8dc4e66d681f887749eadd891046583b048ff727 | |
parent | d46d59e019fc14bb9dab08a0cc2aa117470d1895 (diff) |
[btls]: Fix MonoBtlsX509Store.cs.AddTrustedRoots(). (#4340)a11y-gtk-patches
This internal method is only called from Mono.Btls.Interface.BtlsStore
and used by the web-tests.
Call MonoBtlsProvider.SetupCertificateStore(store) to make its
behavior consistent with the internal implementation.
-rw-r--r-- | mcs/class/System/Mono.Btls/MonoBtlsX509Store.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mcs/class/System/Mono.Btls/MonoBtlsX509Store.cs b/mcs/class/System/Mono.Btls/MonoBtlsX509Store.cs index 537993566e5..3aafbd4a7f5 100644 --- a/mcs/class/System/Mono.Btls/MonoBtlsX509Store.cs +++ b/mcs/class/System/Mono.Btls/MonoBtlsX509Store.cs @@ -159,8 +159,7 @@ namespace Mono.Btls internal void AddTrustedRoots () { - var systemRoot = MonoBtlsProvider.GetSystemStoreLocation (); - LoadLocations (null, systemRoot); + MonoBtlsProvider.SetupCertificateStore (this); } public MonoBtlsX509Lookup AddLookup (MonoBtlsX509LookupType type) |