@joebigelow / wix / commits / 36ed6787

Use SHA1 instead of MD5

Herohtar committed Jul 23, 2019 at 23:10 UTC 36ed678790b0eb9d39848bf6b384733e57a37b6d
1 file changed +2 -2
src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs
+2 -2
@@ -62,9 +62,9 @@ namespace WixToolset.BuildTasks
62 // hash the data
63 byte[] hash;
64
65 - using (MD5 md5 = new MD5CryptoServiceProvider())
65 + using (SHA1 sha1 = new SHA1CryptoServiceProvider())
66 {
67 - hash = md5.ComputeHash(data);
67 + hash = sha1.ComputeHash(data);
68 }
69
70 // build up the identifier