aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-05-05 19:21:40 +0000
committerDavid Shaw <[email protected]>2005-05-05 19:21:40 +0000
commitc71639cfffc8796d3109afff1340cd8fac1504f6 (patch)
treed8bfb2c6bc946b9e3ae62f62506f17efce152680 /g10/options.h
parent* gpg.sgml: Clarify --min-cert-level a bit. (diff)
downloadgnupg-c71639cfffc8796d3109afff1340cd8fac1504f6.tar.gz
gnupg-c71639cfffc8796d3109afff1340cd8fac1504f6.zip
* options.h, g10.c (main): Add new --default-sig-expire and
--default-cert-expire options. Suggested by Florian Weimer. * main.h, keygen.c (parse_expire_string, ask_expire_interval): Use defaults passed in, or "0" to control what default expiration is. * keyedit.c (sign_uids), sign.c (sign_file, clearsign_file, sign_symencrypt_file): Call them here, so that default expiration is used when --ask-xxxxx-expire is off.
Diffstat (limited to '')
-rw-r--r--g10/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index 67ccd9d62..d661366b7 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -50,7 +50,9 @@ struct
int list_only;
int textmode;
int expert;
+ const char *def_sig_expire;
int ask_sig_expire;
+ const char *def_cert_expire;
int ask_cert_expire;
int batch; /* run in batch mode */
int answer_yes; /* answer yes on most questions */