Wireshark-commits: [Wireshark-commits] master c4d7645: win-setup.ps1: verify integrity of downloade
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c4d76452d3134ae03e2508471a5c659c77bf7316
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
c4d7645 by Peter Wu (peter@xxxxxxxxxxxxx):
win-setup.ps1: verify integrity of downloaded files
If for whatever reason a download got corrupted, detect this and
reattempt the download. This protects the developer against server
compromises. Additionally, if an uploaded file was wrong and needs to be
replaced, then this check ensures that the updated file is used.
The -Force option is removed as there is no point in downloading the
same file twice (well, except maybe for verifying that all checksums are
correct, but that can be done with a new destination directory as well).
Change-Id: I770cc8917c49f7fab7209121b2a059dea8f21a58
Reviewed-on: https://code.wireshark.org/review/28954
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 52e7344 ROHC: Move defines to .h file.
add c4d7645 win-setup.ps1: verify integrity of downloaded files
Summary of changes:
tools/win-setup.ps1 | 181 ++++++++++++++++++++++++++++++++--------------------
1 file changed, 111 insertions(+), 70 deletions(-)