mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 01:41:18 -10:00
[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:
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)
|
||||
|
||||
Reference in new issue
Block a user