1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-10 13:04:23 +01:00
Werner Koch ce0d3238f0
gpgsm: Print PROGRESS status lines.
* common/ksba-io-support.c (struct writer_cb_parm_s): Add field
progress.
(struct gnupg_ksba_io_s): Add field is_writer.
(update_write_progress): New.
(base64_writer_cb, plain_writer_cb): Call update_write_progress.
(base64_finish_write): Ditto.
(gnupg_ksba_create_writer): Set is_writer.
(gnupg_ksba_set_progress_cb): New.
(gnupg_ksba_set_total): New.
* common/ksba-io-support.h (gnupg_ksba_progress_cb_t): New type.
* sm/server.c (gpgsm_status2): Return error from statusfp writes.
(gpgsm_progress_cb): New.
* sm/decrypt.c (gpgsm_decrypt): Set progress handler.
* sm/encrypt.c (gpgsm_encrypt): Ditto.
* sm/sign.c (gpgsm_sign): Ditto.
* sm/verify.c (gpgsm_verify): Ditto.
--

GnuPG-bug-id: 6534

Backported-from: c58067415fe93fbd5d3de2594ccca4761ad25103
Backported-from: a88aeee12990478c218abff7f38728e47ee824bc
2023-07-05 12:02:33 +02:00
..
2015-10-28 10:20:17 +01:00
2021-10-06 11:06:01 +02:00
2015-11-17 12:50:22 +01:00
2023-01-11 10:04:08 +01:00
2017-04-28 10:06:33 +09:00
2022-11-22 10:37:15 +09:00
2021-08-27 17:22:25 +09:00
2019-04-16 13:27:44 +09:00
2022-08-15 12:14:44 +02:00
2016-03-02 14:27:30 +01:00
2017-02-21 13:11:46 -05:00
2023-05-10 10:09:55 +02:00
2020-11-09 11:53:33 +01:00
2023-07-05 11:13:20 +02:00
2022-11-22 10:38:38 +09:00
2022-11-22 10:37:15 +09:00
2022-08-02 12:25:23 +02:00
2022-06-20 15:54:29 +02:00
2022-08-02 12:25:23 +02:00
2022-08-02 12:25:23 +02:00
2023-01-16 13:25:22 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.