build: remove OSX deprecated warnings for openssl

This commit is contained in:
Aris Adamantiadis
2014-02-02 21:41:32 +01:00
parent 3bdc2b1d4f
commit 31fb4e1e69
2 changed files with 7 additions and 10 deletions

View File

@@ -155,16 +155,6 @@ int gettimeofday(struct timeval *__p, void *__t);
#include <sys/time.h>
#endif
/*
* get rid of deprecacy warnings on OSX when using OpenSSL
*/
#if defined(__APPLE__)
#ifdef MAC_OS_X_VERSION_MIN_REQUIRED
#undef MAC_OS_X_VERSION_MIN_REQUIRED
#endif
#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6
#endif
/* forward declarations */
struct ssh_common_struct;
struct ssh_kex_struct;