Remove BN_DEBUG_TRIX
authorEmilia Kasper <emilia@openssl.org>
Tue, 28 Feb 2017 12:25:06 +0000 (13:25 +0100)
committerEmilia Kasper <emilia@openssl.org>
Tue, 28 Feb 2017 14:24:30 +0000 (15:24 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bn/bn_lcl.h

index 5fb3814554c32127e50a6917cdbb6f7782ef875a..eba8dd924e8f9d8f490305045f7f29ecd8d67f75 100644 (file)
@@ -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