From: Emilia Kasper Date: Tue, 28 Feb 2017 12:25:06 +0000 (+0100) Subject: Remove BN_DEBUG_TRIX X-Git-Tag: OpenSSL_1_1_1-pre1~2237 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=223a90cc9a94d1f6abf04ef28dc30b03c3e5e0c1;p=oweals%2Fopenssl.git Remove BN_DEBUG_TRIX Reviewed-by: Rich Salz --- diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h index 5fb3814554..eba8dd924e 100644 --- a/crypto/bn/bn_lcl.h +++ b/crypto/bn/bn_lcl.h @@ -147,11 +147,6 @@ extern "C" { # ifdef BN_DEBUG # ifdef BN_DEBUG_RAND -/* To avoid "make update" cvs wars due to BN_DEBUG, use some tricks */ -# ifndef RAND_bytes -int RAND_bytes(unsigned char *buf, int num); -# define BN_DEBUG_TRIX -# endif # define bn_pollute(a) \ do { \ const BIGNUM *_bnum1 = (a); \ @@ -167,9 +162,6 @@ int RAND_bytes(unsigned char *buf, int num); sizeof(*_not_const) * (_bnum1->dmax - _bnum1->top)); \ } \ } while(0) -# ifdef BN_DEBUG_TRIX -# undef RAND_bytes -# endif # else # define bn_pollute(a) # endif