Skip to content

Commit 239fe31

Browse files
authored
Update PrivateKeyFile.cs (#1541)
1 parent 1d2d186 commit 239fe31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Renci.SshNet/PrivateKeyFile.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ private void Open(Stream privateKey, string? passPhrase)
472472
}
473473
else
474474
{
475-
throw new SshException(string.Format("Cipher method '{0}' is not supported.", cipherName));
475+
throw new SshException(string.Format("Cipher method '{0}' is not supported.", ssh2CipherName));
476476
}
477477

478478
/*

0 commit comments

Comments
 (0)