summaryrefslogtreecommitdiff
path: root/mpi/mpiutil.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-02-13 20:58:46 +0000
committerWerner Koch <wk@gnupg.org>1998-02-13 20:58:46 +0000
commit19be043fd0bc1683edd1cc78d0b94c15dbec085f (patch)
treeefd94956d4a76671a78ec73687d847567785a7ea /mpi/mpiutil.c
parent5875b2a7be7f563e675738fa7d776fdac0b1dcfe (diff)
downloadlibgcrypt-19be043fd0bc1683edd1cc78d0b94c15dbec085f.tar.gz
added option export
Diffstat (limited to 'mpi/mpiutil.c')
-rw-r--r--mpi/mpiutil.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c
index 09be317f..3eb09f0c 100644
--- a/mpi/mpiutil.c
+++ b/mpi/mpiutil.c
@@ -35,6 +35,13 @@
#undef mpi_free
#endif
+/****************
+ * fixme: It was a bad idea to use the number of limbs to allocate
+ * because on a alpha the limbs are large but we normally need
+ * integers of n bits - So we should chnage this to bits (or bytes).
+ *
+ * But mpi_alloc is used in a lot of places :-)
+ */
MPI
#ifdef M_DEBUG
mpi_debug_alloc( unsigned nlimbs, const char *info )