aboutsummaryrefslogtreecommitdiffstats
path: root/include/mpi.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-12-08 12:20:53 +0000
committerWerner Koch <[email protected]>1998-12-08 12:20:53 +0000
commitab986970ebce96ad5e9df305ce2413d9d6c613e2 (patch)
tree99409ab6f191101d7b57129d6a7fed321f7d0589 /include/mpi.h
parentSee ChangeLog: Fri Nov 27 21:37:41 CET 1998 Werner Koch (diff)
downloadgnupg-ab986970ebce96ad5e9df305ce2413d9d6c613e2.tar.gz
gnupg-ab986970ebce96ad5e9df305ce2413d9d6c613e2.zip
See ChangeLog: Tue Dec 8 13:15:16 CET 1998 Werner Koch
Diffstat (limited to 'include/mpi.h')
-rw-r--r--include/mpi.h6
1 files changed, 4 insertions, 2 deletions
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