Fix to let it compile. This is not required but avoids complaints

from folks not reading the documentation.
This commit is contained in:
Werner Koch 2005-07-20 16:08:15 +00:00
parent 68191d0c93
commit 5e47c18612
1 changed files with 1 additions and 2 deletions

View File

@ -988,8 +988,7 @@ mpi_print( FILE *fp, gcry_mpi_t a, int mode )
int rc;
char *buffer;
rc = gcry_mpi_aprint( GCRYMPI_FMT_HEX,
&(unsigned char*)buffer, NULL, a );
rc = gcry_mpi_aprint( GCRYMPI_FMT_HEX, &buffer, NULL, a );
assert( !rc );
fputs( buffer, fp );
n += strlen(buffer);