imap-send: eliminate HMAC deprecation warnings on Mac OS X
commitbe4c828b761a7c65edcff75b008051b6d027e64a
authorDavid Aguilar <davvid@gmail.com>
Sun, 19 May 2013 10:23:36 +0000 (19 06:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 May 2013 20:26:37 +0000 (21 13:26 -0700)
tree978af823dd493c2a43092dcc1a20140a076fd993
parent61067954ce166e8a6fbcd109376fe2d9681ca333
imap-send: eliminate HMAC deprecation warnings on Mac OS X

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>
imap-send.c