imap-send: use Apple's Security framework for base64 encoding
[gitweb.git] / git-compat-util.h
index e955bb5e8b3101cc8c753cf541beabf5cd037b39..6ebb02967db53761ecc4aff008617fd51ed500c7 100644 (file)
 #else
 #include <poll.h>
 #endif
+
+#ifndef NO_OPENSSL
+#ifdef APPLE_COMMON_CRYPTO
+#include "compat/apple-common-crypto.h"
+#else
+#include <openssl/evp.h>
+#include <openssl/hmac.h>
+#endif /* APPLE_COMMON_CRYPTO */
+#include <openssl/x509v3.h>
+#endif /* NO_OPENSSL */
+
 #if defined(__MINGW32__)
 /* pull in Windows compatibility stuff */
 #include "compat/mingw.h"