status code for gpgme_op_delete
Werner Koch
wk at gnupg.org
Fri Dec 4 16:43:55 CET 2015
On Fri, 4 Dec 2015 10:45, ueno at gnu.org said:
> For what it's worth, I'm attaching a patch for GnuPG and its counterpart
> for GPGME. With the patch, gpg emits an ERROR status line with
Thanks.
> + write_status_error ("delete_key.secret",
> + gpg_err_code (err));
I changed that to
> + write_status_error ("delete_key.secret", err);
so that the error source is conveyed. gpgme the uses gpg_err_code to
strip that and replace it with the GPGME error source. But it might
come handy for other purposes.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel
mailing list