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 02273549a0ec1c26950fc318935f475c9054ef7a..b6608c47de4b9137758f9873b877c7aa99ce1359 100644 (file)
@@ -215,7 +215,7 @@ BN_ULONG bn_add_part_words(BN_ULONG *r,
        BN_ULONG c, l, t;
 
        assert(cl >= 0);
        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;
 
        if (dl == 0)
                return c;