summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-12-08 13:20:53 +0100
committerWerner Koch <wk@gnupg.org>1998-12-08 13:20:53 +0100
commitab986970ebce96ad5e9df305ce2413d9d6c613e2 (patch)
tree99409ab6f191101d7b57129d6a7fed321f7d0589 /include
parentSee ChangeLog: Fri Nov 27 21:37:41 CET 1998 Werner Koch (diff)
downloadgnupg2-ab986970ebce96ad5e9df305ce2413d9d6c613e2.tar.xz
gnupg2-ab986970ebce96ad5e9df305ce2413d9d6c613e2.zip
See ChangeLog: Tue Dec 8 13:15:16 CET 1998 Werner Koch
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/mpi.h6
2 files changed, 9 insertions, 2 deletions
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 <wk@isil.d.shuttle.de>
+
+ * 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