diff options
author | Werner Koch <[email protected]> | 2015-04-10 10:24:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-04-10 11:09:39 +0000 |
commit | 5d60c7f7e05a06e46e23bafe61cef09ad32aa998 (patch) | |
tree | 48731b9d026a9906e543891362aaa101472613e4 /dirmngr/ks-engine-ldap.c | |
parent | common: Add new function isodate_human_to_tm (diff) | |
download | gnupg-5d60c7f7e05a06e46e23bafe61cef09ad32aa998.tar.gz gnupg-5d60c7f7e05a06e46e23bafe61cef09ad32aa998.zip |
common: Add new function gnupg_gmtime.
* common/gettime.c (gnupg_gmtime): New.
(gnupg_get_isotime): Use it. Also take care of an gmtime_t returning
an error.
--
The fix in gnupg_get_isotime is only to cover up a theoretical broken
time (e.g. a value of (time_t)(-2) which is not mapped beyond 2038 on
32 bit systems).
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-ldap.c')
0 files changed, 0 insertions, 0 deletions