mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
* mpiutil.c (mpi_set_opaque, mpi_get_opaque): Make the length of an opaque
MPI unsigned.
This commit is contained in:
parent
5c09a56385
commit
e49672d5a3
@ -1,3 +1,8 @@
|
||||
2003-12-17 David Shaw <dshaw@localhost.localdomain>
|
||||
|
||||
* mpiutil.c (mpi_set_opaque, mpi_get_opaque): Make the length of
|
||||
an opaque MPI unsigned.
|
||||
|
||||
2003-12-04 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* config.links: Show target in asm-syntax.h file and include
|
||||
|
@ -295,7 +295,7 @@ mpi_set_secure( MPI a )
|
||||
|
||||
|
||||
MPI
|
||||
mpi_set_opaque( MPI a, void *p, int len )
|
||||
mpi_set_opaque( MPI a, void *p, unsigned int len )
|
||||
{
|
||||
if( !a ) {
|
||||
#ifdef M_DEBUG
|
||||
@ -325,7 +325,7 @@ mpi_set_opaque( MPI a, void *p, int len )
|
||||
|
||||
|
||||
void *
|
||||
mpi_get_opaque( MPI a, int *len )
|
||||
mpi_get_opaque( MPI a, unsigned int *len )
|
||||
{
|
||||
if( !(a->flags & 4) )
|
||||
log_bug("mpi_get_opaque on normal mpi\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user