Document a change I'd already made, and at the same time, correct the
[openssl.git] / crypto / bn / bn_div.c
index 556fcda1e3686d88745550a8099b501ed81be154..3b4392955e070e9d97e48b581d8079c34cfc9439 100644 (file)
@@ -214,7 +214,6 @@ int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
                res=BN_CTX_get(ctx);
        else    res=dv;
        if (sdiv == NULL || res == NULL) goto err;
-       tmp->neg=0;
 
        /* First we normalise the numbers */
        norm_shift=BN_BITS2-((BN_num_bits(divisor))%BN_BITS2);