mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner Koch
This commit is contained in:
parent
7d0efec7cf
commit
002b1a8632
35 changed files with 829 additions and 521 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jan 9 16:02:23 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* mpi-cmp.c (mpi_cmp_ui): Normalized the arg.
|
||||
|
||||
Thu Jan 7 18:00:58 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* mpi-bit.c (mpi_normalize): New.
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue