فهرست منبع

Remove extra ToArray call.

Gert Driesen 11 سال پیش
والد
کامیت
6a68a5f22b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Renci.SshClient/Renci.SshNet/Security/KeyHostAlgorithm.cs

+ 1 - 1
Renci.SshClient/Renci.SshNet/Security/KeyHostAlgorithm.cs

@@ -62,7 +62,7 @@ namespace Renci.SshNet.Security
         /// </returns>
         public override byte[] Sign(byte[] data)
         {
-            return new SignatureKeyData(this.Name, this.Key.Sign(data)).GetBytes().ToArray();
+            return new SignatureKeyData(this.Name, this.Key.Sign(data)).GetBytes();
         }
 
         /// <summary>