diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h index 97c35ea5958c2c88cd47ac9f38025bff539c7095..9c959921b49198fc7094cb16ed714ef5b38cf0d0 100644 --- a/crypto/bn/bn_lcl.h +++ b/crypto/bn/bn_lcl.h @@ -228,7 +228,7 @@ extern "C" { /* This is used for internal error checking and is not normally used */ #ifdef BN_DEBUG # include -# define bn_check_top(a) assert ((a)->top >= 0 && (a)->top <= (a)->max); +# define bn_check_top(a) assert ((a)->top >= 0 && (a)->top <= (a)->dmax); #else # define bn_check_top(a) #endif