Mailing List Archive

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