Merge branch 'da/darwin'
* da/darwin: OS X: Fix redeclaration of die warning Makefile: Fix APPLE_COMMON_CRYPTO with BLK_SHA1 imap-send: use Apple's Security framework for base64 encoding
This commit is contained in:
@ -330,6 +330,16 @@ extern NORETURN void die_errno(const char *err, ...) __attribute__((format (prin
|
||||
extern int error(const char *err, ...) __attribute__((format (printf, 1, 2)));
|
||||
extern void warning(const char *err, ...) __attribute__((format (printf, 1, 2)));
|
||||
|
||||
#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 */
|
||||
|
||||
/*
|
||||
* Let callers be aware of the constant return value; this can help
|
||||
* gcc with -Wuninitialized analysis. We restrict this trick to gcc, though,
|
||||
|
||||
Reference in New Issue
Block a user