aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/file/libkvifile.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/file/libkvifile.cpp b/src/modules/file/libkvifile.cpp
index e2e5735a2..cd65a2240 100644
--- a/src/modules/file/libkvifile.cpp
+++ b/src/modules/file/libkvifile.cpp
@@ -47,6 +47,14 @@
#if defined(COMPILE_SSL_SUPPORT)
+
+ // Apple deprecated openssl since osx 10.7:
+
+ #ifdef DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
+ #undef DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
+ #define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
+ #endif
+
#include <openssl/evp.h>
#else
// The fallback we can always use, but with very limited set of