gpg: New option --input-size-hint.
authorWerner Koch <wk@gnupg.org>
Thu, 11 Aug 2016 19:31:12 +0000 (21:31 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 11 Aug 2016 19:32:55 +0000 (21:32 +0200)
commit70b5d7c43a57a44dad60c2c700a263610748d8f4
treed06377f79320f6fade30f50d252a0b29c491916c
parent0698324cde3e0cef7eeb6cfd1640c5eefdf13698
gpg: New option --input-size-hint.

* g10/options.h: Include stdint.h.
(struct opt): Add field 'input_size_hint'.
* g10/gpg.c (oInputSizeHint): New.
(opts): Add --input-size-hint.
(main): Set opt.input_size_hint.
* g10/progress.c (write_status_progress): Use the hint.
--

This is a prerequisite to fix
GnuPG-bug-id: 2368

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/gpg.c
g10/options.h
g10/progress.c