From e6ac5acbbf56ed8995bfa4d5a28160fa3a5d825f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 16 Jun 1998 15:13:28 +0000 Subject: some more internall structure changes --- mpi/mpi-div.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mpi/mpi-div.c') diff --git a/mpi/mpi-div.c b/mpi/mpi-div.c index f057232a2..62ac87158 100644 --- a/mpi/mpi-div.c +++ b/mpi/mpi-div.c @@ -198,7 +198,7 @@ mpi_tdiv_qr( MPI quot, MPI rem, MPI num, MPI den) /* Make sure QP and NP point to different objects. Otherwise the * numerator would be gradually overwritten by the quotient limbs. */ if(qp == np) { /* Copy NP object to temporary space. */ - np = marker[markidx++] = mpi_alloc_limb_space(nsize,quot->secure); + np = marker[markidx++] = mpi_alloc_limb_space(nsize,mpi_is_secure(quot)); MPN_COPY(np, qp, nsize); } } @@ -218,7 +218,7 @@ mpi_tdiv_qr( MPI quot, MPI rem, MPI num, MPI den) /* Shift up the denominator setting the most significant bit of * the most significant word. Use temporary storage not to clobber * the original contents of the denominator. */ - tp = marker[markidx++] = mpi_alloc_limb_space(dsize,den->secure); + tp = marker[markidx++] = mpi_alloc_limb_space(dsize,mpi_is_secure(den)); mpihelp_lshift( tp, dp, dsize, normalization_steps ); dp = tp; @@ -239,7 +239,7 @@ mpi_tdiv_qr( MPI quot, MPI rem, MPI num, MPI den) if( dp == rp || (quot && (dp == qp))) { mpi_ptr_t tp; - tp = marker[markidx++] = mpi_alloc_limb_space(dsize, den->secure); + tp = marker[markidx++] = mpi_alloc_limb_space(dsize, mpi_is_secure(den)); MPN_COPY( tp, dp, dsize ); dp = tp; } -- cgit v1.2.3