Parcourir la source

Update PrivateKeyFile.cs (#1541)

Scott Xu il y a 11 mois
Parent
commit
239fe31123
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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));
                     }
 
                     /*