Home GnuPG
Diffusion GPGME 05258d427513

Return an error for some export key operations.
05258d427513Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Return an error for some export key operations.

* src/context.h (OPDATA_EXPORT): New.
* src/export.c (op_data_t): New.
(release_op_data): New.
(parse_error): New.
(export_status_handler): New.
(export_start, export_ext_start): Prepare op_data.
(gpgme_op_export_ext, gpgme_op_export_keys): Return an error from the
status handler.

To support an error return also for the async functions we need to
extend the API. Until we have done that this new features helps at
least in some cases; in particular for --send-keys.

Details

Provenance
wernerAuthored on Dec 8 2014, 11:19 AM
Parents
rM162c87f069eb: Post release updates
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM05258d427513: Return an error for some export key operations. (authored by Werner Koch <wk@gnupg.org>).Dec 8 2014, 11:19 AM