From aeb58fa615ba48570b0fc84c02ba839b73853f7f Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 7 Sep 2010 19:52:24 +0200 Subject: [PATCH] cannot check for BN_set_negative, so let's just #define it whenever BN_is_negative was missing --- d0_bignum-openssl.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.2