aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-07-05 16:58:19 +0000
committerWerner Koch <[email protected]>2007-07-05 16:58:19 +0000
commit4631bc8ddf86b3917bf786c315273d8b1c7798e8 (patch)
tree2022343674f6703aefb41f2e142765ba319dbf5f /common/util.h
parent2007-07-05 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-4631bc8ddf86b3917bf786c315273d8b1c7798e8.tar.gz
gnupg-4631bc8ddf86b3917bf786c315273d8b1c7798e8.zip
Fixed card key generation of gpg2.
Reveal less information about timings while generating a key.
Diffstat (limited to '')
-rw-r--r--common/util.h2
1 files changed, 2 insertions, 0 deletions
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 */