From 4631bc8ddf86b3917bf786c315273d8b1c7798e8 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 5 Jul 2007 16:58:19 +0000 Subject: Fixed card key generation of gpg2. Reveal less information about timings while generating a key. --- common/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/util.h') diff --git a/common/util.h b/common/util.h index cdd034206..3ec5200bf 100644 --- a/common/util.h +++ b/common/util.h @@ -103,6 +103,8 @@ void gnupg_set_time (time_t newtime, int freeze); int gnupg_faked_time_p (void); u32 make_timestamp (void); u32 scan_isodatestr (const char *string); +time_t isotime2epoch (const char *string); +void epoch2isotime (gnupg_isotime_t timebuf, time_t atime); u32 add_days_to_timestamp (u32 stamp, u16 days); const char *strtimevalue (u32 stamp); const char *strtimestamp (u32 stamp); /* GMT */ -- cgit v1.2.3