Skip to content

Commit

Permalink
Use SHA256CryptoServiceProvider to be FIPS compliant (#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
seguemark committed Jan 11, 2023
1 parent 64fd2d6 commit 12c1f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SonarScanner.MSBuild.PreProcessor/CacheProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public sealed class CacheProcessor : IDisposable
private readonly ISonarWebService server;
private readonly ProcessedArgs localSettings;
private readonly IBuildSettings buildSettings;
private readonly HashAlgorithm sha256 = new SHA256Managed();
private readonly HashAlgorithm sha256 = new SHA256CryptoServiceProvider();

public string PullRequestCacheBasePath { get; }
public string UnchangedFilesPath { get; private set; }
Expand Down

0 comments on commit 12c1f68

Please sign in to comment.