mirror of
https://github.com/openssl/openssl.git
synced 2025-03-25 20:00:44 +08:00
Remove BN_DEBUG_TRIX
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
e546e2cc8c
commit
223a90cc9a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user