From c7787a5783f1c8a7ded2d35fe19e710b2c118794 Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Wed, 7 May 2014 19:40:56 +0000 Subject: [PATCH] Fix some minor warnings, and code formatting. --- Renci.SshClient/Renci.SshNet/Security/KeyHostAlgorithm.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Renci.SshClient/Renci.SshNet/Security/KeyHostAlgorithm.cs b/Renci.SshClient/Renci.SshNet/Security/KeyHostAlgorithm.cs index 261b8827..f50053f7 100644 --- a/Renci.SshClient/Renci.SshNet/Security/KeyHostAlgorithm.cs +++ b/Renci.SshClient/Renci.SshNet/Security/KeyHostAlgorithm.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.Linq; using Renci.SshNet.Common; namespace Renci.SshNet.Security @@ -9,7 +8,6 @@ namespace Renci.SshNet.Security /// public class KeyHostAlgorithm : HostAlgorithm { - /// /// Gets the key. /// @@ -85,11 +83,10 @@ namespace Renci.SshNet.Security { public BigInteger[] Keys { get; private set; } - public string Name { get; private set; } + private string Name { get; set; } public SshKeyData() { - } public SshKeyData(string name, params BigInteger[] keys) @@ -127,7 +124,7 @@ namespace Renci.SshNet.Security /// /// The name of the algorithm. /// - public string AlgorithmName { get; private set; } + private string AlgorithmName { get; set; } /// /// Gets or sets the signature. @@ -139,7 +136,6 @@ namespace Renci.SshNet.Security public SignatureKeyData() { - } public SignatureKeyData(string name, byte[] signature)