metalink/md5: Use CommonCrypto on Apple operating systems
authorNick Zitzmann <nick@chronosnet.com>
Tue, 16 Oct 2012 17:48:55 +0000 (11:48 -0600)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 22 Oct 2012 21:32:59 +0000 (23:32 +0200)
commit94891ff296c31c02a3fe8fcdc8da3b9be493fac9
tree31c8c94a1ae95999be9084a062ab73eec929fd59
parent12a40e17a9aa274e63aff0c8457b0298f959efc6
metalink/md5: Use CommonCrypto on Apple operating systems

Previously the Metalink code used Apple's CommonCrypto library only if
curl was built using the --with-darwinssl option. Now we use CommonCrypto
on all Apple operating systems including Tiger or later, or iOS 5 or
later, so you don't need to build --with-darwinssl anymore. Also rolled
out this change to libcurl's md5 code.
lib/md5.c
src/tool_metalink.c