imap-send: eliminate HMAC deprecation warnings on Mac OS X
authorDavid Aguilar <davvid@gmail.com>
Sun, 19 May 2013 10:23:36 +0000 (06:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 May 2013 20:26:37 +0000 (13:26 -0700)
As of Mac OS X 10.7, Apple deprecated all OpenSSL functions due to
OpenSSL ABI instability. Silence the warnings by using Apple's
CommonCrypto HMAC replacement functions.

[es: reworded commit message; check APPLE_COMMON_CRYPTO instead of
abusing COMMON_DIGEST_FOR_OPENSSL]

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found