aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-11-29 13:40:08 +0000
committerBodo Möller <bodo@openssl.org>2000-11-29 13:40:08 +0000
commit03a0848922d3a4b1a6f216df1c2470a6b946cd87 (patch)
treeff3d559e754b6cfefa15a90eb8bde0171266fe8b /crypto/bn/bn_lib.c
parent9161672950b6408a025833ed7a3d84b3e0ba9944 (diff)
downloadopenssl-03a0848922d3a4b1a6f216df1c2470a6b946cd87.tar.gz
Fix warnings in expspeed.c (but the segmentation fault remains)
Improve readability of bn_shift.c. Add comment in bn_lib.c (why zero data between top and max?) Change bntest.c output for BN_kronecker test
Diffstat (limited to 'crypto/bn/bn_lib.c')
-rw-r--r--crypto/bn/bn_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index d7a54d5fb5..a63c031216 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -357,6 +357,7 @@ static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
}
/* Now need to zero any data between b->top and b->max */
+ /* XXX Why? */
A= &(a[b->top]);
for (i=(words - b->top)>>3; i>0; i--,A+=8)