Pārlūkot izejas kodu

Update PrivateKeyFile.cs (#1541)

Scott Xu 11 mēneši atpakaļ
vecāks
revīzija
239fe31123
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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));
                     }
 
                     /*