Fix prime generation loop in crypto/bn/bn_prime.pl by making
authorRalf S. Engelschall <rse@openssl.org>
Thu, 25 Sep 2003 13:57:58 +0000 (13:57 +0000)
committerRalf S. Engelschall <rse@openssl.org>
Thu, 25 Sep 2003 13:57:58 +0000 (13:57 +0000)
commit6bd27f8644e401301e3a843d92876e74ed6cb0ea
tree14282d2995739fa54645ef6e93a4bb044ffd49a7
parentdfe399e7d9773174c44fa3451b97cf1e3ca07a55
Fix prime generation loop in crypto/bn/bn_prime.pl by making
sure the loop does correctly stop and breaking ("division by zero")
modulus operations are not performed. The (pre-generated) prime
table crypto/bn/bn_prime.h was already correct, but it could not be
re-generated on some platforms because of the "division by zero"
situation in the script.
CHANGES
crypto/bn/bn_prime.pl