diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-16 22:58:06 +0900 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-06-21 03:34:37 +0200 |
commit | 424bb3587748eb59c0d56613e88ef4511ad4dcbf (patch) | |
tree | 8e8c1d21f4c985a92fabd5ec92b293fadc55e20f /mkinstalldirs | |
parent | 08e0ad7b3974811127f7d61c016fee540f91d343 (diff) |
curl: Refactored metalink_checksum
When creating metalink_checksum from metalink_checksum_t, first
check hex digest is valid for the given hash function. We do
this check in the order of digest_aliases so that first good
match will be chosen (strongest hash function available). As a
result, the metalinkfile now only contains at most one
metalink_checksum because other entries are just redundant.
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions