1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00
Werner Koch bb70089d57
common: New functions timegm_u64, isotime2epoch_u64.
* common/mischelp.c (timegm): Move to ...
* common/gettime.c (timegm): here.  On Windows use timegm_u32.
(timegm_u32): New.
(isotime2epoch): Factor code out to ...
(isotime_make_tm): new helper.
(isotime2epoch_u64): New.
(_win32_timegm): Remove duplicated code.
(parse_timestamp): Use of timegm.
(scan_isodatestr): Fallback to isotime2epoch_u64.
--

This mainly helps on 32 bit Windows.  For Unix we assume everyone is
using 64 bit or shall wait until the libc hackers finally provide a
time64_t.

GnuPG-bug-id: 6736
2023-10-26 12:00:22 +02:00
..
2023-09-29 11:34:06 +02:00
2023-09-29 11:34:06 +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
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-09-29 11:34:06 +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
2023-07-05 12:14:35 +02:00
2022-06-20 15:54:29 +02:00
2023-09-29 11:34:06 +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.