diff options
author | Moritz Schulte <mo@g10code.com> | 2003-06-09 13:44:12 +0000 |
---|---|---|
committer | Moritz Schulte <mo@g10code.com> | 2003-06-09 13:44:12 +0000 |
commit | 9a06555b17e1bec8f13bf21473b24e6029f380a8 (patch) | |
tree | 59a2112345fe749c94a7cf93cc3f03009d2d5b4f /mpi/mpi-inv.c | |
parent | 2ed6eec3359bbf04e819a260d6011d613151b5fd (diff) | |
download | libgcrypt-9a06555b17e1bec8f13bf21473b24e6029f380a8.tar.gz |
2003-06-09 Moritz Schulte <moritz@g10code.com>
* mpicoder.c (gcry_mpi_scan): Adjust for libgpg-error.
(gcry_mpi_print): Likewise.
(gcry_mpi_aprint): Likewise.
2003-06-07 Moritz Schulte <moritz@g10code.com>
* longlong.h, mpi-add.c, mpi-bit.c, mpi-cmp.c, mpi-div.c,
mpi-gcd.c, mpi-inline.c, mpi-inline.h, mpi-internal.h, mpi-inv.c,
mpi-mpow.c, mpi-mul.c, mpi-pow.c, mpi-scan.c, mpicoder.c,
mpih-div.c, mpih-mul.c, mpiutil.c, generic/mpi-asm-defs.h,
generic/mpih-add1.c, generic/mpih-lshift.c, generic/mpih-mul1.c,
generic/mpih-mul2.c, generic/mpih-mul3.c, generic/mpih-rshift.c,
generic/mpih-sub1.c, generic/udiv-w-sdiv.c, i386/syntax.h,
m68k/syntax.h, mips3/mpi-asm-defs.h, powerpc32/syntax.h: Edited
all preprocessor instructions to remove whitespace before the '#'.
This is not required by C89, but there are some compilers out
there that don't like it. Replaced any occurence of the now
deprecated type names with the new ones.
Diffstat (limited to 'mpi/mpi-inv.c')
-rw-r--r-- | mpi/mpi-inv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mpi/mpi-inv.c b/mpi/mpi-inv.c index 80efd62d..b44cb676 100644 --- a/mpi/mpi-inv.c +++ b/mpi/mpi-inv.c @@ -32,7 +32,7 @@ void _gcry_mpi_invm( MPI x, MPI a, MPI n ) { - #if 0 +#if 0 MPI u, v, u1, u2, u3, v1, v2, v3, q, t1, t2, t3; MPI ta, tb, tc; @@ -76,7 +76,7 @@ _gcry_mpi_invm( MPI x, MPI a, MPI n ) mpi_free(t3); mpi_free(u); mpi_free(v); - #elif 0 +#elif 0 /* Extended Euclid's algorithm (See TAOCP Vol II, 4.5.2, Alg X) * modified according to Michael Penk's solution for Exercise 35 */ @@ -157,7 +157,7 @@ _gcry_mpi_invm( MPI x, MPI a, MPI n ) mpi_free(t1); mpi_free(t2); mpi_free(t3); - #else +#else /* Extended Euclid's algorithm (See TAOCP Vol II, 4.5.2, Alg X) * modified according to Michael Penk's solution for Exercise 35 * with further enhancement */ @@ -263,7 +263,7 @@ _gcry_mpi_invm( MPI x, MPI a, MPI n ) mpi_free(u); mpi_free(v); - #endif +#endif } |