From 223a90cc9a94d1f6abf04ef28dc30b03c3e5e0c1 Mon Sep 17 00:00:00 2001 From: Emilia Kasper Date: Tue, 28 Feb 2017 13:25:06 +0100 Subject: Remove BN_DEBUG_TRIX Reviewed-by: Rich Salz --- crypto/bn/bn_lcl.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crypto/bn') 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 -- cgit v1.2.3