fix for certValid variable

This commit is contained in:
Max
2016-06-27 18:23:05 +02:00
parent b1d19210d8
commit 5eecf58cac
+1 -1
View File
@@ -137,7 +137,7 @@ namespace Duplicati.Server.WebServer
else
cert = new X509Certificate2(certificateFile, certificateFilePassword, X509KeyStorageFlags.Exportable);
certValid = cert.Verify();
certValid = cert.HasPrivateKey;
}
catch (Exception ex)
{