diff options
author | Herohtar <belac1186@gmail.com> | 2019-07-23 23:10:43 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-05-20 10:36:46 +1000 |
commit | 36ed678790b0eb9d39848bf6b384733e57a37b6d (patch) | |
tree | 6a3596c0ad590eedba5f20e1530d364577cbde5a /src | |
parent | dc7d97d77b61b17c06de0645dce986a93b892340 (diff) | |
download | wix-36ed678790b0eb9d39848bf6b384733e57a37b6d.tar.gz wix-36ed678790b0eb9d39848bf6b384733e57a37b6d.tar.bz2 wix-36ed678790b0eb9d39848bf6b384733e57a37b6d.zip |
Use SHA1 instead of MD5
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs b/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs index 06c8b98a..c4a5cefe 100644 --- a/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs +++ b/src/WixToolset.BuildTasks/GenerateCompileWithObjectPath.cs | |||
@@ -62,9 +62,9 @@ namespace WixToolset.BuildTasks | |||
62 | // hash the data | 62 | // hash the data |
63 | byte[] hash; | 63 | byte[] hash; |
64 | 64 | ||
65 | using (MD5 md5 = new MD5CryptoServiceProvider()) | 65 | using (SHA1 sha1 = new SHA1CryptoServiceProvider()) |
66 | { | 66 | { |
67 | hash = md5.ComputeHash(data); | 67 | hash = sha1.ComputeHash(data); |
68 | } | 68 | } |
69 | 69 | ||
70 | // build up the identifier | 70 | // build up the identifier |