瀏覽代碼

Fix typo.

Gert Driesen 8 年之前
父節點
當前提交
5852a96d02
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -90,7 +90,7 @@ using (var client = new SshClient("sftp.foo.com", "guest", "pwd"))
 {
     client.HostKeyReceived += (sender, e) =>
         {
-            if (expectedFingerPrint.Length != e.FingerPrint.Length)
+            if (expectedFingerPrint.Length == e.FingerPrint.Length)
             {
                 for (var i = 0; i < expectedFingerPrint.Length; i++)
                 {