diff options
author | Werner Koch <[email protected]> | 2007-08-28 17:48:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-08-28 17:48:13 +0000 |
commit | f268889b8ffcd341353210ee141d4c6ded17ef86 (patch) | |
tree | 1757a6ce830b6dd9e2a9d914987e715e7289a920 /common/util.h | |
parent | Implemented more gpg-agen options to support certain passphrase policies. (diff) | |
download | gnupg-f268889b8ffcd341353210ee141d4c6ded17ef86.tar.gz gnupg-f268889b8ffcd341353210ee141d4c6ded17ef86.zip |
Add more passphrase policy rules.
(--max-passphrase-days).
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
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. */ |