Ensure that the addition mods[i]+delta cannot overflow in probable_prime().
authorBodo Möller <bodo@openssl.org>
Mon, 18 Sep 2006 14:00:49 +0000 (14:00 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 18 Sep 2006 14:00:49 +0000 (14:00 +0000)
commita53cdc5b0834dd23072ea20e546d55ca4f43a0c8
tree0b7f2754cddc362d4a9ee0d9840538338620df68
parent5d20c4fb3582a0e6cbf8513c94c60e4cd326716d
Ensure that the addition mods[i]+delta cannot overflow in probable_prime().

[Problem pointed out by Adam Young <adamy (at) acm.org>]
crypto/bn/bn_prime.c