aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2013-07-29 18:28:30 -0700
committerJunio C Hamano <gitster@pobox.com>2013-07-30 08:53:24 -0700
commit3ef2bcad02efd6219f4ce599754c15e63b6af0dc (patch)
tree3f32ae410a875c7e3c07558cd0307da1cdbd108f /Makefile
parentbe4c828b761a7c65edcff75b008051b6d027e64a (diff)
downloadgit-3ef2bcad02efd6219f4ce599754c15e63b6af0dc.tar.gz
git-3ef2bcad02efd6219f4ce599754c15e63b6af0dc.tar.xz
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 5e7cadf01..dddf49bd6 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