From ab986970ebce96ad5e9df305ce2413d9d6c613e2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 8 Dec 1998 12:20:53 +0000 Subject: See ChangeLog: Tue Dec 8 13:15:16 CET 1998 Werner Koch --- include/mpi.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/mpi.h') diff --git a/include/mpi.h b/include/mpi.h index 1347a12e1..6fbed3764 100644 --- a/include/mpi.h +++ b/include/mpi.h @@ -43,7 +43,7 @@ int mpi_debug_mode; typedef unsigned long int mpi_limb_t; typedef signed long int mpi_limb_signed_t; -typedef struct mpi_struct { +struct gcry_mpi { int alloced; /* array size (# of allocated limbs) */ int nlimbs; /* number of valid limbs */ int nbits; /* the real number of valid bits (info only) */ @@ -52,7 +52,9 @@ typedef struct mpi_struct { /* bit 1: the mpi is encrypted */ /* bit 2: the limb is a pointer to some m_alloced data */ mpi_limb_t *d; /* array with the limbs */ -} *MPI; +}; + +typedef struct gcry_mpi *MPI; #define MPI_NULL NULL -- cgit v1.2.3