1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-25 23:52:53 +00:00

Don't check cert store on Mono 6 (#7260) resolves #7223

This commit is contained in:
junglebus 2020-02-21 05:55:46 +11:00 committed by GitHub
parent 3c596c978c
commit 0d58b2d63f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)