aboutsummaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
Diffstat (limited to 'mpi')
-rw-r--r--mpi/ChangeLog4
-rw-r--r--mpi/mpi-bit.c2
-rw-r--r--mpi/mpi-cmp.c3
3 files changed, 7 insertions, 2 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index 9d79660e3..2a49d403b 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,7 @@
+Sat Jan 9 16:02:23 CET 1999 Werner Koch <[email protected]>
+
+ * mpi-cmp.c (mpi_cmp_ui): Normalized the arg.
+
Thu Jan 7 18:00:58 CET 1999 Werner Koch <[email protected]>
* mpi-bit.c (mpi_normalize): New.
diff --git a/mpi/mpi-bit.c b/mpi/mpi-bit.c
index 227a929bb..00aa5d086 100644
--- a/mpi/mpi-bit.c
+++ b/mpi/mpi-bit.c
@@ -1,5 +1,5 @@
/* mpi-bit.c - MPI bit level fucntions
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/mpi-cmp.c b/mpi/mpi-cmp.c
index 3c3c76b7c..2a6cdbf1c 100644
--- a/mpi/mpi-cmp.c
+++ b/mpi/mpi-cmp.c
@@ -1,5 +1,5 @@
/* mpi-cmp.c - MPI functions
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -28,6 +28,7 @@ mpi_cmp_ui( MPI u, unsigned long v )
{
mpi_limb_t limb = v;
+ mpi_normalize( u );
if( !u->nlimbs && !limb )
return 0;
if( u->sign )