Skip to content

Commit 71aa1eb

Browse files
authored
Suppressing CodeQL warning [SM02196] (#5122)
1 parent eb3691a commit 71aa1eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Agent.Worker/Build/TrackingConfigHashAlgorithm.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public static string ComputeHash(string collectionId, string definitionId, IList
5555

5656
private static string CreateHash(string hashInput)
5757
{
58+
//CodeQL [SM02196] Supress - Suppressing this warning as the hash is used only in the directory name and not for security purposes.
5859
using (SHA1 sha1Hash = SHA1.Create())
5960
{
6061
byte[] data = sha1Hash.ComputeHash(Encoding.UTF8.GetBytes(hashInput));

0 commit comments

Comments
 (0)