From 239fe3112380b3d70ca00ceef97bc29f1d0214cc Mon Sep 17 00:00:00 2001 From: Scott Xu Date: Tue, 19 Nov 2024 05:32:13 +0800 Subject: [PATCH] Update PrivateKeyFile.cs (#1541) --- src/Renci.SshNet/PrivateKeyFile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renci.SshNet/PrivateKeyFile.cs b/src/Renci.SshNet/PrivateKeyFile.cs index 414bcfcd..23a6157f 100644 --- a/src/Renci.SshNet/PrivateKeyFile.cs +++ b/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)); } /*