printing opaque MPI

Werner Koch wk at
Wed Apr 25 16:01:01 CEST 2001

On Wed, 25 Apr 2001, Joan Picanyol i Puig wrote:

> I can figure out. In parse_key() [parse-packet.c; line 1262] data is read using
> mpi_set_opaque() whenever it won't be possible to parse it properly 
> (i.e.: encrypted v4 secret keys). However, I need to be able to print this data

Use mpi_get_opaque() to get a pointer and the length of this memory.

Werner Koch        Omnis enim res, quae dando non deficit, dum habetur
g10 Code GmbH      et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions                                        -- Augustinus

More information about the Gnupg-devel mailing list