From: Richard Levitte Date: Wed, 29 Nov 2000 09:36:48 +0000 (+0000) Subject: Copy and paste error... bn_add_part_words() should of course call X-Git-Tag: OpenSSL_0_9_6a-beta1~107^2~126 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0135e33511fd428ef3db66cfa26418bebdb1a58c;p=oweals%2Fopenssl.git Copy and paste error... bn_add_part_words() should of course call bn_add_words(), not bn_sub_words()... --- 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;