Ensure that the addition mods[i]+delta cannot overflow in probable_prime().
authorBodo Möller <bodo@openssl.org>
Tue, 19 Sep 2006 10:00:29 +0000 (10:00 +0000)
committerBodo Möller <bodo@openssl.org>
Tue, 19 Sep 2006 10:00:29 +0000 (10:00 +0000)
commitd9d294463e9d5309336ac4f3d7a5a3e25555c0a2
tree6701774f5d1e3475e5703bc265a5f1c9e268cf88
parentea43804bdaa3e6f66f5316e225ced91c4297ec66
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