Skip to content

Commit

Permalink
CSharpier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Erior committed Dec 16, 2023
1 parent d678275 commit 619e44b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/SharpCompress/Common/Rar/Headers/ArchiveCryptHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

using System;
using System.Security.Cryptography;

using SharpCompress.IO;
using SharpCompress.Common.Rar.Headers;
using SharpCompress.IO;

namespace SharpCompress.Common.Rar.Headers;

Expand All @@ -17,6 +16,6 @@ public ArchiveCryptHeader(RarHeader header, RarCrcBinaryReader reader)

protected override void ReadFinish(MarkingBinaryReader reader)
{
CryptInfo = new Rar5CryptoInfo(reader,false);
CryptInfo = new Rar5CryptoInfo(reader, false);
}
}
6 changes: 1 addition & 5 deletions src/SharpCompress/Common/Rar/ICryptKey.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace SharpCompress.Common.Rar;

internal interface ICryptKey
{
ICryptoTransform Transformer(byte[] salt);
Expand Down
1 change: 0 additions & 1 deletion src/SharpCompress/Common/Rar/RarCryptoWrapper.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;

using SharpCompress.Crypto;

namespace SharpCompress.Common.Rar;
Expand Down

0 comments on commit 619e44b

Please sign in to comment.