Skip to content

Commit

Permalink
Update libsodium version to 1.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
ektrah committed May 25, 2024
1 parent 175e7aa commit 1d4163b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Interop/Interop.Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ internal static partial class Interop
internal static partial class Libsodium
{
internal const int SODIUM_LIBRARY_VERSION_MAJOR = 26;
internal const int SODIUM_LIBRARY_VERSION_MINOR = 1;
internal const string SODIUM_VERSION_STRING = "1.0.19";
internal const int SODIUM_LIBRARY_VERSION_MINOR = 2;
internal const string SODIUM_VERSION_STRING = "1.0.20";

[DllImport(Libraries.Libsodium, CallingConvention = CallingConvention.Cdecl)]
internal static extern int sodium_library_version_major();
Expand Down
2 changes: 1 addition & 1 deletion src/Sodium.Core/Sodium.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="libsodium" Version="[1.0.19.2,1.0.20)" />
<PackageReference Include="libsodium" Version="[1.0.20,1.0.21)" />

This comment has been minimized.

Copy link
@Duan112358

Duan112358 Aug 19, 2024

why add 1.0.21 support here ? but keep fixed version in Libsodium definition. @ektrah
Code 2024-08-19 17 23 59

This comment has been minimized.

Copy link
@ektrah

ektrah Aug 19, 2024

Author Owner

Version="[1.0.20,1.0.21)" means >= 1.0.20 and < 1.0.21. In other words: It requires 1.0.20.x.

This comment has been minimized.

Copy link
@Duan112358

Duan112358 Aug 20, 2024

All right, I got it. 👍

</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/Sodium.Tests/Sodium.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/Sodium.Tests/VersionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class VersionTest
[Test]
public void SodiumVersionStringTest()
{
const string EXPECTED = "1.0.19";
const string EXPECTED = "1.0.20";
var actual = SodiumCore.SodiumVersionString();
Assert.AreEqual(EXPECTED, actual);
}
Expand Down

0 comments on commit 1d4163b

Please sign in to comment.