summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mul.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>1999-07-27 09:36:59 +0000
committerAndy Polyakov <appro@openssl.org>1999-07-27 09:36:59 +0000
commit5965902e6e011be06fb6c0b8941973350ee64485 (patch)
tree305e931253395e453b677326c9cd2fac5064c8bd /crypto/bn/bn_mul.c
parent7fbd8db18448f680f5718a52dd7fed22474286fe (diff)
when invoking bn_*_comba[48] result->top wasn't always set correctly.
Diffstat (limited to 'crypto/bn/bn_mul.c')
-rw-r--r--crypto/bn/bn_mul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bn/bn_mul.c b/crypto/bn/bn_mul.c
index 4b19c9f043..38c47f3d1f 100644
--- a/crypto/bn/bn_mul.c
+++ b/crypto/bn/bn_mul.c
@@ -597,14 +597,14 @@ printf("BN_mul %d * %d\n",a->top,b->top);
/* if (al == 4)
{
if (bn_wexpand(rr,8) == NULL) return(0);
- r->top=8;
+ rr->top=8;
bn_mul_comba4(rr->d,a->d,b->d);
goto end;
}
else */ if (al == 8)
{
if (bn_wexpand(rr,16) == NULL) return(0);
- r->top=16;
+ rr->top=16;
bn_mul_comba8(rr->d,a->d,b->d);
goto end;
}