浏览代码

Update PrivateKeyFile.cs (#1541)

Scott Xu 11 月之前
父节点
当前提交
239fe31123
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Renci.SshNet/PrivateKeyFile.cs

+ 1 - 1
src/Renci.SshNet/PrivateKeyFile.cs

@@ -472,7 +472,7 @@ namespace Renci.SshNet
                     }
                     else
                     {
-                        throw new SshException(string.Format("Cipher method '{0}' is not supported.", cipherName));
+                        throw new SshException(string.Format("Cipher method '{0}' is not supported.", ssh2CipherName));
                     }
 
                     /*