]> git.rm.cloudns.org Git - xonotic/d0_blind_id.git/commitdiff
cannot check for BN_set_negative, so let's just #define it whenever BN_is_negative...
authorRudolf Polzer <divverent@alientrap.org>
Tue, 7 Sep 2010 17:52:24 +0000 (19:52 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 7 Sep 2010 17:52:24 +0000 (19:52 +0200)
d0_bignum-openssl.c

index 44ad26aef4c29c8f63cd59ca256b82356207332f..9c43e8f58e6dff90848576138e97c69d4b223153 100644 (file)
@@ -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