提交 223a90cc 编写于 作者: E Emilia Kasper

Remove BN_DEBUG_TRIX

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 e546e2cc
...@@ -147,11 +147,6 @@ extern "C" { ...@@ -147,11 +147,6 @@ extern "C" {
# ifdef BN_DEBUG # ifdef BN_DEBUG
# ifdef BN_DEBUG_RAND # 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) \ # define bn_pollute(a) \
do { \ do { \
const BIGNUM *_bnum1 = (a); \ const BIGNUM *_bnum1 = (a); \
...@@ -167,9 +162,6 @@ int RAND_bytes(unsigned char *buf, int num); ...@@ -167,9 +162,6 @@ int RAND_bytes(unsigned char *buf, int num);
sizeof(*_not_const) * (_bnum1->dmax - _bnum1->top)); \ sizeof(*_not_const) * (_bnum1->dmax - _bnum1->top)); \
} \ } \
} while(0) } while(0)
# ifdef BN_DEBUG_TRIX
# undef RAND_bytes
# endif
# else # else
# define bn_pollute(a) # define bn_pollute(a)
# endif # endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册