1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-05 12:31:50 +01:00

* mpiutil.c (mpi_set_opaque, mpi_get_opaque): Make the length of an opaque

MPI unsigned.
This commit is contained in:
David Shaw 2003-12-17 22:30:57 +00:00
parent 5c09a56385
commit e49672d5a3
2 changed files with 7 additions and 2 deletions

View File

@ -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> 2003-12-04 David Shaw <dshaw@jabberwocky.com>
* config.links: Show target in asm-syntax.h file and include * config.links: Show target in asm-syntax.h file and include

View File

@ -295,7 +295,7 @@ mpi_set_secure( MPI a )
MPI MPI
mpi_set_opaque( MPI a, void *p, int len ) mpi_set_opaque( MPI a, void *p, unsigned int len )
{ {
if( !a ) { if( !a ) {
#ifdef M_DEBUG #ifdef M_DEBUG
@ -325,7 +325,7 @@ mpi_set_opaque( MPI a, void *p, int len )
void * void *
mpi_get_opaque( MPI a, int *len ) mpi_get_opaque( MPI a, unsigned int *len )
{ {
if( !(a->flags & 4) ) if( !(a->flags & 4) )
log_bug("mpi_get_opaque on normal mpi\n"); log_bug("mpi_get_opaque on normal mpi\n");