summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mul.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-29 09:36:48 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-29 09:36:48 +0000
commit0135e33511fd428ef3db66cfa26418bebdb1a58c (patch)
treedce07325cafd50fb6a64bb0e56c81a294e778a69 /crypto/bn/bn_mul.c
parentf2cc7559dd88aaee8d6c27f5af924b7479d5b0f0 (diff)
Copy and paste error... bn_add_part_words() should of course call
bn_add_words(), not bn_sub_words()...
Diffstat (limited to 'crypto/bn/bn_mul.c')
-rw-r--r--crypto/bn/bn_mul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_mul.c b/crypto/bn/bn_mul.c
index 02273549a0..b6608c47de 100644
--- a/crypto/bn/bn_mul.c
+++ b/crypto/bn/bn_mul.c
@@ -215,7 +215,7 @@ BN_ULONG bn_add_part_words(BN_ULONG *r,
BN_ULONG c, l, t;
assert(cl >= 0);
- c = bn_sub_words(r, a, b, cl);
+ c = bn_add_words(r, a, b, cl);
if (dl == 0)
return c;