From: Rudolf Polzer Date: Tue, 7 Sep 2010 17:52:24 +0000 (+0200) Subject: cannot check for BN_set_negative, so let's just #define it whenever BN_is_negative... X-Git-Tag: xonotic-v0.1.0preview~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aeb58fa615ba48570b0fc84c02ba839b73853f7f;p=xonotic%2Fd0_blind_id.git cannot check for BN_set_negative, so let's just #define it whenever BN_is_negative was missing --- diff --git a/d0_bignum-openssl.c b/d0_bignum-openssl.c index 44ad26a..9c43e8f 100644 --- a/d0_bignum-openssl.c +++ b/d0_bignum-openssl.c @@ -49,8 +49,6 @@ // for stupid OpenSSL versions in Mac OS X #ifndef BN_is_negative #define BN_is_negative(a) ((a)->neg != 0) -#endif -#ifndef BN_set_negative #define BN_set_negative(a,n) ((a)->neg = ((n) && !BN_is_zero(a))) #endif