summaryrefslogtreecommitdiffstats
path: root/g10/keyedit.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-07-21 14:12:55 +0200
committerWerner Koch <wk@gnupg.org>2017-07-21 18:15:01 +0200
commitb55b72bb815ad5870456b89c3a011fa00991b4a8 (patch)
tree4655cfb4494e32382ddec9558bb43f22c2257190 /g10/keyedit.h
parentgpg: Fix possible double free of the card serialno. (diff)
downloadgnupg2-b55b72bb815ad5870456b89c3a011fa00991b4a8.tar.xz
gnupg2-b55b72bb815ad5870456b89c3a011fa00991b4a8.zip
gpg: Extend --quick-set-expire to allow subkey expiration setting.
* g10/keyedit.c (keyedit_quick_set_expire): Add new arg subkeyfprs. (menu_expire): Rename arg force_mainkey to unattended and allow unattended changing of subkey expiration. * g10/gpg.c (main): Extend --quick-set-expire. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/keyedit.h')
-rw-r--r--g10/keyedit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/keyedit.h b/g10/keyedit.h
index d4c963222..23a126bc3 100644
--- a/g10/keyedit.h
+++ b/g10/keyedit.h
@@ -46,7 +46,8 @@ void keyedit_quick_revuid (ctrl_t ctrl, const char *username,
void keyedit_quick_sign (ctrl_t ctrl, const char *fpr,
strlist_t uids, strlist_t locusr, int local);
void keyedit_quick_set_expire (ctrl_t ctrl,
- const char *fpr, const char *expirestr);
+ const char *fpr, const char *expirestr,
+ char **subkeyfprs);
void keyedit_quick_set_primary (ctrl_t ctrl, const char *username,
const char *primaryuid);
void show_basic_key_info (ctrl_t ctrl, kbnode_t keyblock);