From 0135e33511fd428ef3db66cfa26418bebdb1a58c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 29 Nov 2000 09:36:48 +0000 Subject: [PATCH] Copy and paste error... bn_add_part_words() should of course call bn_add_words(), not bn_sub_words()... --- crypto/bn/bn_mul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab