diff options
author | Werner Koch <wk@gnupg.org> | 1998-02-13 21:58:50 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-02-13 21:58:50 +0100 |
commit | f477447d9af4097e8c5d4c15a3dd381237e93ee2 (patch) | |
tree | a655392c92fed02f06ebf503bf10b835b56e54e0 /mpi | |
parent | added assembler stuff for hppa (diff) | |
download | gnupg2-f477447d9af4097e8c5d4c15a3dd381237e93ee2.tar.xz gnupg2-f477447d9af4097e8c5d4c15a3dd381237e93ee2.zip |
added option exportV0-2-6
Diffstat (limited to 'mpi')
-rw-r--r-- | mpi/ChangeLog | 0 | ||||
-rw-r--r-- | mpi/Makefile.in | 1 | ||||
-rw-r--r-- | mpi/mpicoder.c | 2 | ||||
-rw-r--r-- | mpi/mpiutil.c | 7 |
4 files changed, 8 insertions, 2 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/mpi/ChangeLog diff --git a/mpi/Makefile.in b/mpi/Makefile.in index 3b34edee0..87976eebe 100644 --- a/mpi/Makefile.in +++ b/mpi/Makefile.in @@ -85,7 +85,6 @@ POSUB = @POSUB@ RANLIB = @RANLIB@ VERSION = @VERSION@ ZLIBS = @ZLIBS@ -ZLIB_SUBDIR = @ZLIB_SUBDIR@ INCLUDES = -I$(top_srcdir)/include diff --git a/mpi/mpicoder.c b/mpi/mpicoder.c index bccb51ff5..3daea767f 100644 --- a/mpi/mpicoder.c +++ b/mpi/mpicoder.c @@ -118,7 +118,7 @@ mpi_read(IOBUF inp, unsigned *ret_nread, int secure) leave: if( nread > *ret_nread ) - log_error("Ooops: mpi crosses packet border"); + log_bug("mpi crosses packet border"); else *ret_nread = nread; return val; diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c index 09be317f2..3eb09f0cd 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 ) |