From f268889b8ffcd341353210ee141d4c6ded17ef86 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 28 Aug 2007 17:48:13 +0000 Subject: Add more passphrase policy rules. (--max-passphrase-days). --- common/util.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/util.h') diff --git a/common/util.h b/common/util.h index 937918308..75f6ed05c 100644 --- a/common/util.h +++ b/common/util.h @@ -110,7 +110,9 @@ const char *strtimevalue (u32 stamp); const char *strtimestamp (u32 stamp); /* GMT */ const char *isotimestamp (u32 stamp); /* GMT */ const char *asctimestamp (u32 stamp); /* localized */ - +gpg_error_t add_seconds_to_isotime (gnupg_isotime_t atime, int nseconds); +gpg_error_t add_days_to_isotime (gnupg_isotime_t atime, int ndays); +gpg_error_t check_isotime (const gnupg_isotime_t atime); /* Copy one ISO date to another, this is inline so that we can do a sanity check. */ -- cgit v1.2.3