summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2013-07-30 01:28:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-30 15:53:24 (GMT)
commit3ef2bcad02efd6219f4ce599754c15e63b6af0dc (patch)
tree3f32ae410a875c7e3c07558cd0307da1cdbd108f /Makefile
parentbe4c828b761a7c65edcff75b008051b6d027e64a (diff)
downloadgit-3ef2bcad02efd6219f4ce599754c15e63b6af0dc.zip
git-3ef2bcad02efd6219f4ce599754c15e63b6af0dc.tar.gz
git-3ef2bcad02efd6219f4ce599754c15e63b6af0dc.tar.bz2
imap-send: use Apple's Security framework for base64 encoding
Use Apple's supported functions for base64 encoding instead of the deprecated OpenSSL functions. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5e7cadf..dddf49b 100644
--- a/Makefile
+++ b/Makefile
@@ -1398,6 +1398,7 @@ ifdef PPC_SHA1
LIB_H += ppc/sha1.h
else
ifdef APPLE_COMMON_CRYPTO
+ LIB_4_CRYPTO += -framework Security -framework CoreFoundation
COMPAT_CFLAGS += -DCOMMON_DIGEST_FOR_OPENSSL
SHA1_HEADER = <CommonCrypto/CommonDigest.h>
else