summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/bn_mpi.c')
-rw-r--r--crypto/bn/bn_mpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_mpi.c b/crypto/bn/bn_mpi.c
index 05fa9d1e9a..a054d21aed 100644
--- a/crypto/bn/bn_mpi.c
+++ b/crypto/bn/bn_mpi.c
@@ -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);
}