aboutsummaryrefslogtreecommitdiffstats
path: root/mpi/mpiutil.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-12-17 22:30:57 +0000
committerDavid Shaw <[email protected]>2003-12-17 22:30:57 +0000
commite49672d5a3b7a23cecc2346907a1408a7cde3d66 (patch)
treeefec54a13ded2b58be91e2c5e3f6926e1b4edb19 /mpi/mpiutil.c
parent* mpi.h (gcry_mpi, mpi_get_opaque, mpi_set_opaque): Make nbits and the (diff)
downloadgnupg-e49672d5a3b7a23cecc2346907a1408a7cde3d66.tar.gz
gnupg-e49672d5a3b7a23cecc2346907a1408a7cde3d66.zip
* mpiutil.c (mpi_set_opaque, mpi_get_opaque): Make the length of an opaque
MPI unsigned.
Diffstat (limited to 'mpi/mpiutil.c')
-rw-r--r--mpi/mpiutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c
index 25d98ac1c..2fc9c0168 100644
--- a/mpi/mpiutil.c
+++ b/mpi/mpiutil.c
@@ -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");