Home GnuPG
Diffusion GPGME fe1e8e71aa18

core: Make use of the "size-hint" in engine-gpg.
fe1e8e71aa18Unpublished

Unpublished Commit · Learn More

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

Description

core: Make use of the "size-hint" in engine-gpg.

* src/engine-gpg.c: Include data.h.
(add_input_size_hint): New.
(gpg_decrypt, gpg_encrypt, gpg_encrypt_sign, gpg_sign)
(gpg_verify): Call new function,
* tests/run-encrypt.c (status_cb): Print to stderr.
(progress_cb): New.o
(main): Add option --progress.  Print full-status lines.  Provide a
size for the input data.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 12 2016, 3:24 PM
Parents
rM293d1736911f: core: Add gpgme_data_set_flag to add more meta data to data objects.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMfe1e8e71aa18: core: Make use of the "size-hint" in engine-gpg. (authored by Werner Koch <wk@gnupg.org>).Aug 12 2016, 3:32 PM