mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
bug fixes
This commit is contained in:
parent
248f46c5d3
commit
5911e300ff
12 changed files with 328 additions and 202 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Jun 26 11:19:06 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||
|
||||
* mpiutil.c (mpi_alloc): set nbits to 0.
|
||||
(mpi_alloc_secure): Ditto.
|
||||
(mpi_clear): Ditto.
|
||||
|
||||
Thu Jun 25 11:50:01 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||
|
||||
* mips3/*.S: New
|
||||
|
|
|
@ -64,6 +64,7 @@ mpi_alloc( unsigned nlimbs )
|
|||
a->nlimbs = 0;
|
||||
a->sign = 0;
|
||||
a->flags = 0;
|
||||
a->nbits = 0;
|
||||
return a;
|
||||
}
|
||||
|
||||
|
@ -96,6 +97,7 @@ mpi_alloc_secure( unsigned nlimbs )
|
|||
a->flags |= 1;
|
||||
a->nlimbs = 0;
|
||||
a->sign = 0;
|
||||
a->nbits = 0;
|
||||
return a;
|
||||
}
|
||||
|
||||
|
@ -175,6 +177,7 @@ void
|
|||
mpi_clear( MPI a )
|
||||
{
|
||||
a->nlimbs = 0;
|
||||
a->nbits = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue