[btls]: Fix MonoBtlsX509Store.cs.AddTrustedRoots(). (#4340)

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.
This commit is contained in:
Martin Baulig authored and GitHub committed 2017-02-08 17:12:02 +01:00
1 parent d46d59e019
commit 8b18c84289
1 file changed
+1 -2
@@ -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)