Put the first stage of my bignum debugging adventures into CVS. This code
[openssl.git] / crypto / bn / bn_mpi.c
index 05fa9d1e9a5c578c3cfee1f2d35f5c854ab29669..a054d21aed6b9a0cb04b384320ddd2fc6d6bfcbf 100644 (file)
@@ -124,6 +124,7 @@ BIGNUM *BN_mpi2bn(const unsigned char *d, int n, BIGNUM *a)
                {
                BN_clear_bit(a,BN_num_bits(a)-1);
                }
+       bn_check_top(a);
        return(a);
        }