]> git.rm.cloudns.org Git - xonotic/d0_blind_id.git/commitdiff
more fixes :P
authorRudolf Polzer <divverent@alientrap.org>
Thu, 2 Sep 2010 05:46:36 +0000 (07:46 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 2 Sep 2010 05:46:36 +0000 (07:46 +0200)
d0_bignum-openssl.c

index 60bba7370a4871b13b46ffd9121bfb985e32508f..9e45f7f329ab0a02a1679bd27cc425896e01b1ba 100644 (file)
@@ -250,7 +250,7 @@ d0_bignum_t *d0_bignum_divmod(d0_bignum_t *q, d0_bignum_t *m, const d0_bignum_t
                assert(!"I know this code is broken (rounds towards zero), need handle negative correctly");
        }
        else
-               BN_nnmod(&q->z, &a->z, &b->z, ctx);
+               BN_nnmod(&m->z, &a->z, &b->z, ctx);
        if(m)
                return m;
        else