diff options
author | Werner Koch <wk@gnupg.org> | 1998-07-29 21:35:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-07-29 21:35:05 +0200 |
commit | 5ae562b41d9e3ec965643b902bf8593c8ca5a2d7 (patch) | |
tree | 059ed09c380b3f534479add19933dbe9a7a401c9 /mpi | |
parent | changed trustdb design (diff) | |
download | gnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.tar.xz gnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.zip |
edit-key is now complete
Diffstat (limited to 'mpi')
-rw-r--r-- | mpi/g10m.c | 2 | ||||
-rw-r--r-- | mpi/mpi-inv.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mpi/g10m.c b/mpi/g10m.c index 6cad79587..28feaf08c 100644 --- a/mpi/g10m.c +++ b/mpi/g10m.c @@ -49,7 +49,7 @@ g10m_release( MPI a ) void g10m_resize( MPI a, unsigned nbits ) { - return mpi_resize( a, (nbits+BITS_PER_MPI_LIMB-1) / BITS_PER_MPI_LIMB ); + mpi_resize( a, (nbits+BITS_PER_MPI_LIMB-1) / BITS_PER_MPI_LIMB ); } MPI g10m_copy( MPI a ) { return mpi_copy( a ); } diff --git a/mpi/mpi-inv.c b/mpi/mpi-inv.c index 25efbd979..150d87ca1 100644 --- a/mpi/mpi-inv.c +++ b/mpi/mpi-inv.c @@ -120,6 +120,7 @@ mpi_invm( MPI x, MPI a, MPI n ) mpi_rshift(t2, t2, 1); mpi_rshift(t3, t3, 1); Y4: + ; } while( !mpi_test_bit( t3, 0 ) ); /* while t3 is even */ if( !t3->sign ) { @@ -216,6 +217,7 @@ mpi_invm( MPI x, MPI a, MPI n ) mpi_rshift(t3, t3, 1); } Y4: + ; } while( !mpi_test_bit( t3, 0 ) ); /* while t3 is even */ if( !t3->sign ) { |