소스 검색

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>