Skip to content

Commit

Permalink
Sodium.cs: Make class internal.
Browse files Browse the repository at this point in the history
Missed this.
  • Loading branch information
samuel-lucas6 committed Aug 9, 2022
1 parent ff0af30 commit 7672e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Geralt/Geralt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Version>1.0.1</Version>
<Authors>Samuel Lucas</Authors>
<Description>A modern cryptographic library for .NET based on libsodium.</Description>
<Copyright>Copyright (c) 2022 Samuel Lucas</Copyright>
Expand Down
4 changes: 2 additions & 2 deletions src/Geralt/Interop/Sodium.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
using System.Runtime.InteropServices;
using static Interop.Libsodium;

public static class Sodium
internal static class Sodium
{
private static readonly Action MisuseHandler = MisuseError;
private static void MisuseError() => throw new InvalidOperationException("Misuse handler error.");

private static int _initialised;

public static void Initialise()
internal static void Initialise()
{
if (_initialised != 0) { return; }
try
Expand Down

0 comments on commit 7672e78

Please # to comment.