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/ChangeLog | 5 +++++ include/mpi.h | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 6cb61d830..9040e8900 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 8 13:15:16 CET 1998 Werner Koch + + * mpi.h (MPI): Changed the structure name to gcry_mpi and + changed all users. + Tue Oct 20 11:40:00 1998 Werner Koch (wk@isil.d.shuttle.de) * iobuf.h (iobuf_get_temp_buffer): New. 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