(BN_rand): avoid shadowing.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17573 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-05-13 19:32:18 +00:00
parent 3f7e277a20
commit 726a88d9c6

View File

@@ -344,10 +344,10 @@ BN_rand(BIGNUM *bn, int bits, int top, int bottom)
}
{
size_t i = len * 8;
while(i > bits) {
BN_clear_bit(bn, i -1);
i--;
size_t j = len * 8;
while(j > bits) {
BN_clear_bit(bn, j - 1);
j--;
}
}