mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
@@ -198,6 +198,9 @@ namespace Jackett.Server.Services
|
||||
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
|
||||
try
|
||||
{
|
||||
@@ -242,6 +245,7 @@ namespace Jackett.Server.Services
|
||||
logger.Error(e, "Error while chekcing the mono certificate store");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
|
Reference in New Issue
Block a user