tool_metalink.c: Added support for Microsoft Windows CryptoAPI
authorMarc Hoersken <info@marc-hoersken.de>
Mon, 10 Sep 2012 23:58:10 +0000 (01:58 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Tue, 11 Sep 2012 11:37:30 +0000 (13:37 +0200)
commit94c3e0f702c23c30e69c17bddd77c368d1eaac22
treed7ae971c7187d4f3ba5ff3af2f66384ff190e7dc
parentc8846c09079a564ed1f24714acbf52b398b9cce1
tool_metalink.c: Added support for Microsoft Windows CryptoAPI

Since Metalink support requires a crypto library for hash functions
and Windows comes with the builtin CryptoAPI, this patch adds that
API as a fallback to the supported crypto libraries.
It is automatically used on Windows if no other library is provided.
src/tool_metalink.c