Skip to content

Commit 19fa6f1

Browse files
committed
No need TripleDesCipher.BouncyCastleImpl if NET6_0_OR_GREATER
1 parent 2f4e3de commit 19fa6f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Renci.SshNet/Security/Cryptography/Ciphers/TripleDesCipher.BouncyCastleImpl.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Org.BouncyCastle.Crypto.Engines;
1+
#if !NET6_0_OR_GREATER
2+
using Org.BouncyCastle.Crypto.Engines;
23
using Org.BouncyCastle.Crypto.Paddings;
34
using Org.BouncyCastle.Crypto.Parameters;
45

@@ -43,3 +44,4 @@ public override int DecryptBlock(byte[] inputBuffer, int inputOffset, int inputC
4344
}
4445
}
4546
}
47+
#endif

0 commit comments

Comments
 (0)