Move zeroing from bn_expand_internal() to bn_expand2() so that it
authorBodo Möller <bodo@openssl.org>
Thu, 25 Jul 2002 12:12:39 +0000 (12:12 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 25 Jul 2002 12:12:39 +0000 (12:12 +0000)
commit12593e6f45b146ac8f368e743238f67f22a52c80
tree05c6b44c4970f45334dba2834b5562839e83b747
parent819a040f4477e20cb795b703e921241de23e1d71
Move zeroing from bn_expand_internal() to bn_expand2() so that it
happens reliably, even if the BIGNUM is already sufficiently large.

[Note that the bn_expand()/bn_wexpand() macros call bn_expand2() only
if the BIGNUM actually has to grow, so this change does not add any
new overhead as currently bn_expand2() is never called directly.]
crypto/bn/bn_lib.c