#endif
#ifndef NO_OPENSSL
+ #ifdef __APPLE__
#define __AVAILABILITY_MACROS_USES_AVAILABILITY 0
- #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6
+ #include <AvailabilityMacros.h>
+ #undef DEPRECATED_ATTRIBUTE
+ #define DEPRECATED_ATTRIBUTE
+ #undef __AVAILABILITY_MACROS_USES_AVAILABILITY
+ #endif
#include <openssl/ssl.h>
#include <openssl/err.h>
- #undef MAC_OS_X_VERSION_MIN_REQUIRED
- #undef __AVAILABILITY_MACROS_USES_AVAILABILITY
+#ifdef NO_HMAC_CTX_CLEANUP
+#define HMAC_CTX_cleanup HMAC_cleanup
+#endif
#endif
/* On most systems <netdb.h> would have given us this, but