Error with gcry_mpi_release with opaque value.

Stef Bon stefbon at
Thu Jun 28 13:54:37 CEST 2018

Op do 28 jun. 2018 om 13:43 schreef Werner Koch <wk at>:

Replacing malloc by gcry_malloc "solved" the issue. The crash with
gcry_release with a opaque mpi is not there anymore.
So somehow for some reason I do not understand gcry_malloc and
gcry_free do something more then fallback to the standard
malloc and free. Maybe initialize? gcry_free does not work without
first calling gcry_malloc?


More information about the Gcrypt-devel mailing list