The last release of Mac OS was 13 years ago.

OSX doesn't have sys/md5.h any more.
This commit is contained in:
Frank Denis 2015-10-08 00:45:52 +02:00
parent 10328691e5
commit 0416b858aa

View File

@ -49,14 +49,9 @@
#ifdef HAVE_SSL #ifdef HAVE_SSL
#ifndef __APPLE_CC__
/* OpenSSL includes */ /* OpenSSL includes */
#include <openssl/md5.h> #include <openssl/md5.h>
#include <openssl/blowfish.h> #include <openssl/blowfish.h>
#else /* YAY - We're MAC OS */
#include <sys/md5.h>
#include <crypto/blowfish.h>
#endif /* __APPLE_CC__ */
#define ENC_BUF_SIZE VTUN_FRAME_SIZE + 16 #define ENC_BUF_SIZE VTUN_FRAME_SIZE + 16
#define ENC_KEY_SIZE 16 #define ENC_KEY_SIZE 16