diff options
author | David Shaw <[email protected]> | 2005-05-06 19:25:19 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-05-06 19:25:19 +0000 |
commit | 89c844bd3a2090848df8a5f9fb53b1c55635b328 (patch) | |
tree | 67d53dbba05f6a8a50f280901f6b2d7fa9c80134 /g10/keyedit.c | |
parent | * sign.c (sign_file, clearsign_file, sign_symencrypt_file): Use the (diff) | |
download | gnupg-89c844bd3a2090848df8a5f9fb53b1c55635b328.tar.gz gnupg-89c844bd3a2090848df8a5f9fb53b1c55635b328.zip |
* 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.
Diffstat (limited to '')
-rw-r--r-- | g10/keyedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index 18908a693..cc7ff7278 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -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) |