status code for gpgme_op_delete
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
> + 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.
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-devel