Skip to content

Commit

Permalink
Add one empty line to re-trigger build
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-xu committed Apr 6, 2024
1 parent 901fd5a commit 72f0e58
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/Renci.SshNet/ConnectionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ public ConnectionInfo(string host, int port, string username, ProxyTypes proxyTy

KeyExchangeAlgorithms = new Dictionary<string, Func<IKeyExchange>>
{
{ "curve25519-sha256", () => new KeyExchangeECCurve25519() },
{ "curve25519-sha256@libssh.org", () => new KeyExchangeECCurve25519() },
////{ "curve25519-sha256", () => new KeyExchangeECCurve25519() },
////{ "curve25519-sha256@libssh.org", () => new KeyExchangeECCurve25519() },
{ "ecdh-sha2-nistp256", () => new KeyExchangeECDH256() },
{ "ecdh-sha2-nistp384", () => new KeyExchangeECDH384() },
{ "ecdh-sha2-nistp521", () => new KeyExchangeECDH521() },
Expand Down
2 changes: 1 addition & 1 deletion src/Renci.SshNet/Renci.SshNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AssemblyName>Renci.SshNet</AssemblyName>
<Product>SSH.NET</Product>
<AssemblyTitle>SSH.NET</AssemblyTitle>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Renci.SshNet/Security/KeyExchangeECDH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public override void Start(Session session, KeyExchangeInitMessage message, bool
_keyAgreement = new ECDHCBasicAgreement();
_keyAgreement.Init(aKeyPair.Private);
_clientExchangeValue = ((ECPublicKeyParameters)aKeyPair.Public).Q.GetEncoded();

SendMessage(new KeyExchangeEcdhInitMessage(_clientExchangeValue));
}

Expand Down
14 changes: 14 additions & 0 deletions test/Renci.SshNet.IntegrationTests/ATest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace Renci.SshNet.IntegrationTests
{
[TestClass]
public class ATest
{
[TestMethod]
public void TestECDH()
{
using var client = new SshClient("127.0.0.1", "scott", "qianfpsg");
client.Connect();
client.Disconnect();
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net48;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
Expand Down
19 changes: 0 additions & 19 deletions test/Renci.SshNet.IntegrationTests/TestInitializer.cs

This file was deleted.

2 changes: 1 addition & 1 deletion test/Renci.SshNet.Tests/Renci.SshNet.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 72f0e58

Please sign in to comment.