Skip to content

Commit 8abad81

Browse files
committed
revert
1 parent 5087d4d commit 8abad81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Renci.SshNet/Security/KeyExchangeECDH.BouncyCastleImpl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ internal abstract partial class KeyExchangeECDH
1212
private sealed class BouncyCastleImpl : Impl
1313
{
1414
private readonly ECDomainParameters _domainParameters;
15-
private readonly ECDHBasicAgreement _keyAgreement;
15+
private readonly ECDHCBasicAgreement _keyAgreement;
1616

1717
public BouncyCastleImpl(X9ECParameters curveParameters)
1818
{
1919
_domainParameters = new ECDomainParameters(curveParameters);
20-
_keyAgreement = new ECDHBasicAgreement();
20+
_keyAgreement = new ECDHCBasicAgreement();
2121
}
2222

2323
public override byte[] GenerateClientECPoint()

0 commit comments

Comments
 (0)