Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: gcrypt

docs for gcry_mpi_aprint should indicate how to release buffer

 

 

GnuPG gcrypt RSS feed   Index | Next | Previous | View Threaded


dkg at fifthhorseman

Nov 12, 2009, 11:58 PM

Post #1 of 1 (543 views)
Permalink
docs for gcry_mpi_aprint should indicate how to release buffer

hey folks--

more gcrypt documentation nit-picking:

the docs for gcrypt_mpi_aprint() say:

> Convert the MPI a into an external representation described by format
> (see above) and store it in a newly allocated buffer which address will
> be stored in the variable buffer points to. The number of bytes stored
> in this buffer will be stored in the variable nbytes points to, unless
> nbytes is NULL.

I'd assume that buffer must later be released by the caller with
gcry_free(), but the docs don't say so explicitly. perhaps they should?

--dkg
Attachments: signature.asc (0.87 KB)

GnuPG gcrypt RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.