summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/MultipleAlgorithmNoMD5.dat.sha1
diff options
context:
space:
mode:
authorMatt McCormick <matt.mccormick@kitware.com>2016-10-12 18:57:32 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-18 15:16:45 (GMT)
commit33a9aaa89b437da29a70f27d25b267242b6f982c (patch)
tree6e381dc1c48d3f8c2fe6498497b20e45c7beb3dd /Tests/Module/ExternalData/MultipleAlgorithmNoMD5.dat.sha1
parent96f6fe6b5737494fc560e126b7c797d232d9307e (diff)
downloadCMake-33a9aaa89b437da29a70f27d25b267242b6f982c.zip
CMake-33a9aaa89b437da29a70f27d25b267242b6f982c.tar.gz
CMake-33a9aaa89b437da29a70f27d25b267242b6f982c.tar.bz2
ExternalData: Add support for multiple hash algorithms
Add support for projects to have `Data.txt.md5` *and* `Data.txt.sha512` where the content links hold hashes for the same file. Check all `ExternalData_URL_TEMPLATES` entries in order for all available hashes. The data acquisition is considered a failure if none of the available URL resources has any of the given hashes. This makes it possible to have multiple data server resources where all servers do not support all hashing algorithms.
Diffstat (limited to 'Tests/Module/ExternalData/MultipleAlgorithmNoMD5.dat.sha1')
-rw-r--r--Tests/Module/ExternalData/MultipleAlgorithmNoMD5.dat.sha11
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Module/ExternalData/MultipleAlgorithmNoMD5.dat.sha1 b/Tests/Module/ExternalData/MultipleAlgorithmNoMD5.dat.sha1
new file mode 100644
index 0000000..43a3540
--- /dev/null
+++ b/Tests/Module/ExternalData/MultipleAlgorithmNoMD5.dat.sha1
@@ -0,0 +1 @@
+2af59a7022024974f3b8521b7ed8137c996a79f1