Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Hsu <kennethhsu@gmail.com>2021-05-18 19:00:40 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2021-05-18 19:00:40 +0300
commit90dfce81b2371a643154f1b1f13be2d5e5cf874c (patch)
treefbc5e31c7ec57a998a10afc699162cc0c8e3476f /Duplicati
parent3d8817608e81bbb06e6fc58ac68323d7769e6043 (diff)
Construct instance of ECDsaCng to test for ECDSA support.
This more closely reflects the SSH.NET code.
Diffstat (limited to 'Duplicati')
-rw-r--r--Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs b/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs
index b19ac7fc4..1bbb75761 100644
--- a/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs
+++ b/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs
@@ -347,7 +347,7 @@ namespace Duplicati.Library.Backend
// See https://github.com/mono/mono/blob/mono-6.12.0.144/mcs/class/referencesource/System.Core/System/Security/Cryptography/ECDsaCng.cs
try
{
- ECDsa.Create(default(ECCurve));
+ ECDsaCng unused = new ECDsaCng();
}
catch (NotImplementedException)
{