aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_schannel.c
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-16 22:58:06 +0900
committerYang Tse <yangsita@gmail.com>2012-06-21 03:34:37 +0200
commit424bb3587748eb59c0d56613e88ef4511ad4dcbf (patch)
tree8e8c1d21f4c985a92fabd5ec92b293fadc55e20f /lib/curl_schannel.c
parent08e0ad7b3974811127f7d61c016fee540f91d343 (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 'lib/curl_schannel.c')
0 files changed, 0 insertions, 0 deletions