Define HAVE_SSL for OSX

This commit is contained in:
Twinaphex 2018-09-01 04:22:57 +02:00
parent 34e295ec51
commit 4e0c2314d9
2 changed files with 12 additions and 0 deletions

View File

@ -136,11 +136,21 @@ void mbedtls_ripemd160_process( mbedtls_ripemd160_context *ctx, const unsigned c
D = Dp = ctx->state[3];
E = Ep = ctx->state[4];
#undef F1
#ifndef F1
#define F1( x, y, z ) ( x ^ y ^ z )
#endif
#ifndef F2
#define F2( x, y, z ) ( ( x & y ) | ( ~x & z ) )
#endif
#ifndef F3
#define F3( x, y, z ) ( ( x | ~y ) ^ z )
#endif
#ifndef F4
#define F4( x, y, z ) ( ( x & z ) | ( y & ~z ) )
#endif
#ifndef F5
#define F5( x, y, z ) ( x ^ ( y | ~z ) )
#endif
#undef S
#define S( x, n ) ( ( x << n ) | ( x >> (32 - n) ) )
#undef P

View File

@ -498,6 +498,7 @@
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = (
"-DHAVE_RUNAHEAD",
"-DHAVE_SSL",
"-DHAVE_GRIFFIN",
"-DHAVE_FLAC",
"-DHAVE_DR_FLAC",
@ -560,6 +561,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.5;
OTHER_CFLAGS = (
"-DHAVE_RUNAHEAD",
"-DHAVE_SSL",
"-DHAVE_GRIFFIN",
"-DHAVE_FLAC",
"-DHAVE_DR_FLAC",