From: Rudolf Polzer Date: Thu, 2 Sep 2010 05:46:36 +0000 (+0200) Subject: more fixes :P X-Git-Tag: xonotic-v0.1.0preview~29 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d4999fe5376e7b4ee11a8799100eef081e73282f;p=xonotic%2Fd0_blind_id.git more fixes :P --- diff --git a/d0_bignum-openssl.c b/d0_bignum-openssl.c index 60bba73..9e45f7f 100644 --- a/d0_bignum-openssl.c +++ b/d0_bignum-openssl.c @@ -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