Skip to content

Commit

Permalink
Fixed runtime issue with in-memory feature, updated project informati…
Browse files Browse the repository at this point in the history
…on, update version to 1.0.1
  • Loading branch information
TanukiSharp committed Feb 2, 2017
1 parent 2ed9db1 commit 30f4d1a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Aes/Aes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<AssemblyName>Aes</AssemblyName>
<OutputType>Exe</OutputType>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">$(PackageTargetFallback);dnxcore50</PackageTargetFallback>
<PackageLicenseUrl>https://raw.githubusercontent.com/TanukiSharp/AES/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/TanukiSharp/AES</PackageProjectUrl>
<RepositoryUrl>https://github.com/TanukiSharp/AES</RepositoryUrl>
<PackageTags>aes cryptography security</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Security.Cryptography.Algorithms">
Expand All @@ -23,6 +27,11 @@
</ItemGroup>
<PropertyGroup Label="Configuration">
<DefineConstants>TRACE;DEBUG</DefineConstants>
<Version>1.0.1</Version>
<Authors>Sebastien ROBERT</Authors>
<Company />
<Description>A cross-platform application to encrypt and decrypt data using the AES algorithm</Description>
<Copyright>Sebastien ROBERT</Copyright>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
Expand Down
2 changes: 1 addition & 1 deletion Aes/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#if DEBUG
#define IN_MEMORY
//#define IN_MEMORY
#endif

using System;
Expand Down
1 change: 0 additions & 1 deletion Aes/Streams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ private void PrintAndClean()
{
if (innerStream.Length > 0)
{
Console.WriteLine();
Console.Write(BeginDataMarker);
if (innerStream.TryGetBuffer(out ArraySegment<byte> buffer))
Console.Write(encoding.GetString(buffer.Array, buffer.Offset, buffer.Count));
Expand Down
2 changes: 1 addition & 1 deletion Aes/Utils.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#if DEBUG
#define IN_MEMORY
//#define IN_MEMORY
#endif

using System;
Expand Down

0 comments on commit 30f4d1a

Please sign in to comment.