mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* main.h, keygen.c (parse_expire_string, ask_expire_interval), sign.c
(sign_file, clearsign_file, sign_symencrypt_file), g10.c (main), keyedit.c (sign_uids): Use seconds rather than days internally to calculate expiration. We no longer need the day-based code as we don't generate v3 keys.
This commit is contained in:
parent
10f51e0714
commit
89c844bd3a
6 changed files with 65 additions and 62 deletions
|
@ -865,7 +865,7 @@ sign_uids( KBNODE keyblock, STRLIST locusr, int *ret_modified,
|
|||
if(opt.ask_cert_expire)
|
||||
duration=ask_expire_interval(1,opt.def_cert_expire);
|
||||
else
|
||||
duration=parse_expire_string(opt.def_cert_expire)*86400L;
|
||||
duration=parse_expire_string(opt.def_cert_expire);
|
||||
}
|
||||
|
||||
if(duration)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue