Skip to content

Commit 37fb864

Browse files
zybexXLPedro Fonseca
andauthored
Fix virus false-positive by Defender on Renci.SSHNet.Tests.dll (#867)
Co-authored-by: Pedro Fonseca <[email protected]>
1 parent cad9433 commit 37fb864

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Renci.SshNet.Tests/Classes/PrivateKeyFileTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ public void ConstructorWithFileNameAndPassphrase()
435435
/// A test for <see cref="PrivateKeyFile(string, string)"/> ctor.
436436
///</summary>
437437
[TestMethod()]
438-
public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenPrivateKeyIsEncryptedAndPassphraseIsEmpty()
438+
public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenNeededPassphraseIsEmpty()
439439
{
440440
var passphrase = string.Empty;
441441

@@ -460,7 +460,7 @@ public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEm
460460
/// A test for <see cref="PrivateKeyFile(string, string)"/> ctor.
461461
///</summary>
462462
[TestMethod()]
463-
public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenPrivateKeyIsEncryptedAndPassphraseIsNull()
463+
public void ConstructorWithFileNameAndPassphraseShouldThrowSshPassPhraseNullOrEmptyExceptionWhenNeededPassphraseIsNull()
464464
{
465465
string passphrase = null;
466466

0 commit comments

Comments
 (0)