Browse Source

Update PrivateKeyFile.cs (#1541)

Scott Xu 11 tháng trước cách đây
mục cha
commit
239fe31123
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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));
                     }
 
                     /*