Copy and paste error... bn_add_part_words() should of course call
authorRichard Levitte <levitte@openssl.org>
Wed, 29 Nov 2000 09:36:48 +0000 (09:36 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 Nov 2000 09:36:48 +0000 (09:36 +0000)
bn_add_words(), not bn_sub_words()...

crypto/bn/bn_mul.c

index 0227354..b6608c4 100644 (file)
@@ -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;