aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-08-03 17:51:29 +0000
committerBodo Möller <bodo@openssl.org>2002-08-03 17:51:29 +0000
commitbac6012308e05c187bc11bcb44b984bcd71365e7 (patch)
tree0c3f7080752a6184f8f9d6eec9db86c945a9a474 /crypto
parentaaa384ca1a6e4ba16e98afc8c8aa1491cd48da94 (diff)
downloadopenssl-bac6012308e05c187bc11bcb44b984bcd71365e7.zip
openssl-bac6012308e05c187bc11bcb44b984bcd71365e7.tar.gz
openssl-bac6012308e05c187bc11bcb44b984bcd71365e7.tar.bz2
use bn_wexpand instead of bn_expand2 (the latter is not needed here,
and it does not yet work correctly) Submitted by: Douglas Stebila
Diffstat (limited to 'crypto')
-rw-r--r--crypto/bn/bn_gf2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_gf2m.c b/crypto/bn/bn_gf2m.c
index bf7031b..c969685 100644
--- a/crypto/bn/bn_gf2m.c
+++ b/crypto/bn/bn_gf2m.c
@@ -284,7 +284,7 @@ int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
if (a->top < b->top) { at = b; bt = a; }
else { at = a; bt = b; }
- bn_expand2(r, at->top);
+ bn_wexpand(r, at->top);
for (i = 0; i < bt->top; i++)
{