diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-28 22:05:13 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-03-02 15:50:47 -0600 |
| commit | 7d8072cce7aae6c889b0979202b5ee285d0a35c9 (patch) | |
| tree | b05d07a608e16e1b18c5d5754ddc442526a9e796 /src/WixToolset.Core.Burn/Bundles/BundleHashAlgorithm.cs | |
| parent | 4fc415440e64394ef9adafbf802620d73b6dade0 (diff) | |
| download | wix-7d8072cce7aae6c889b0979202b5ee285d0a35c9.tar.gz wix-7d8072cce7aae6c889b0979202b5ee285d0a35c9.tar.bz2 wix-7d8072cce7aae6c889b0979202b5ee285d0a35c9.zip | |
Change the hash algorithm for Burn to SHA512.
#3992
Diffstat (limited to 'src/WixToolset.Core.Burn/Bundles/BundleHashAlgorithm.cs')
| -rw-r--r-- | src/WixToolset.Core.Burn/Bundles/BundleHashAlgorithm.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core.Burn/Bundles/BundleHashAlgorithm.cs b/src/WixToolset.Core.Burn/Bundles/BundleHashAlgorithm.cs index 3a71ed4c..3b4a4156 100644 --- a/src/WixToolset.Core.Burn/Bundles/BundleHashAlgorithm.cs +++ b/src/WixToolset.Core.Burn/Bundles/BundleHashAlgorithm.cs | |||
| @@ -12,7 +12,7 @@ namespace WixToolset.Core.Burn.Bundles | |||
| 12 | { | 12 | { |
| 13 | byte[] hashBytes; | 13 | byte[] hashBytes; |
| 14 | 14 | ||
| 15 | using (var managed = new SHA1Managed()) | 15 | using (var managed = new SHA512CryptoServiceProvider()) |
| 16 | using (var stream = fileInfo.OpenRead()) | 16 | using (var stream = fileInfo.OpenRead()) |
| 17 | { | 17 | { |
| 18 | hashBytes = managed.ComputeHash(stream); | 18 | hashBytes = managed.ComputeHash(stream); |
