1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-10 13:04:23 +01:00
Werner Koch 1b60aab2c4
gpg: Make progress work for large files on Windows.
* common/iobuf.c (iobuf_get_filelength): Change return type to
uint64_t and remove the overflow args.  For Windows always use
GetFileSizeEx which is available since the long EOL-ed Windows XP.

* g10/sign.c (write_plaintext_packet): Adjust for changed
iobuf_get_filelength.
* g10/encrypt.c (encrypt_simple, encrypt_crypt): Ditto.
* g10/photoid.c (generate_photo_id): Ditto.  Also add an upper limit.

* g10/filter.h (progress_filter_context_t): Change amount values to
use uint64_t.
* g10/progress.c (write_status_progress): Change accordingly.

--
GnuPG-bug-id: 6534

Backported-from: 808494b48577c2efb894a0877f59d9c4ed664f56
2023-07-05 11:30:16 +02:00
..
2023-06-20 09:06:30 +09:00
2022-10-31 14:33:10 +01:00
2021-11-13 21:02:22 +01:00
2023-05-25 16:54:29 +02:00
2015-02-04 09:15:34 +01:00
2018-03-08 14:08:51 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2023-03-03 10:09:47 +01:00
2022-11-15 17:24:04 +01:00
2017-03-07 20:25:54 +09:00
2023-03-03 10:09:47 +01:00
2023-03-03 10:09:47 +01:00
2023-03-03 10:09:47 +01:00
2017-01-23 19:16:55 +01:00
2020-10-28 18:10:01 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2016-03-08 14:08:49 +01:00
2016-12-06 12:16:56 +01:00