diff options
author | Emilia Kasper <emilia@openssl.org> | 2017-02-28 13:25:06 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2017-02-28 15:24:30 +0100 |
commit | 223a90cc9a94d1f6abf04ef28dc30b03c3e5e0c1 (patch) | |
tree | c3afefdc1f8a29b4e97baee4a6a4b384e92df54e /crypto/bn/bn_lcl.h | |
parent | e546e2cc8ca6f984cc1fb618b136bb28304927c9 (diff) | |
download | openssl-new-223a90cc9a94d1f6abf04ef28dc30b03c3e5e0c1.tar.gz |
Remove BN_DEBUG_TRIX
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bn/bn_lcl.h')
-rw-r--r-- | crypto/bn/bn_lcl.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 |