mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 23:52:53 +00:00
parent
3c596c978c
commit
0d58b2d63f
1 changed files with 36 additions and 32 deletions
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
@ -198,6 +198,9 @@ namespace Jackett.Server.Services
|
||||||
Environment.Exit(2);
|
Environment.Exit(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (monoVersionO.Major < 6)
|
||||||
|
{
|
||||||
|
//We don't check on Mono 6 since Mono.Security was removed
|
||||||
// check if the certificate store was initialized using Mono.Security.X509.X509StoreManager.TrustedRootCertificates.Count
|
// check if the certificate store was initialized using Mono.Security.X509.X509StoreManager.TrustedRootCertificates.Count
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -242,6 +245,7 @@ namespace Jackett.Server.Services
|
||||||
logger.Error(e, "Error while chekcing the mono certificate store");
|
logger.Error(e, "Error while chekcing the mono certificate store");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Reference in a new issue