From 3ef2bcad02efd6219f4ce599754c15e63b6af0dc Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Mon, 29 Jul 2013 18:28:30 -0700 Subject: 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 Signed-off-by: David Aguilar Signed-off-by: Junio C Hamano --- git-compat-util.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'git-compat-util.h') diff --git a/git-compat-util.h b/git-compat-util.h index e955bb5e8b..6ebb02967d 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -127,6 +127,17 @@ #else #include #endif + +#ifndef NO_OPENSSL +#ifdef APPLE_COMMON_CRYPTO +#include "compat/apple-common-crypto.h" +#else +#include +#include +#endif /* APPLE_COMMON_CRYPTO */ +#include +#endif /* NO_OPENSSL */ + #if defined(__MINGW32__) /* pull in Windows compatibility stuff */ #include "compat/mingw.h" -- cgit v1.2.3