aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-11-06 16:01:31 +0000
committerWerner Koch <[email protected]>2011-11-06 16:01:31 +0000
commit958f29d2251a96d09439e591ea3523133930e5e9 (patch)
tree21b939412dc91322f35b85524df4804049fa1141 /g10/keyedit.c
parenttypo fixes (diff)
downloadgnupg-958f29d2251a96d09439e591ea3523133930e5e9.tar.gz
gnupg-958f29d2251a96d09439e591ea3523133930e5e9.zip
Allow creating subkeys using an existing key
This works by specifying the keygrip instead of an algorithm (section number 13) and requires that the option -expert has been used. It will be easy to extend this to the primary key.
Diffstat (limited to '')
-rw-r--r--g10/keyedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index fd42439a8..26e05a02d 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -1794,7 +1794,7 @@ keyedit_menu (ctrl_t ctrl, const char *username, strlist_t locusr,
break;
case cmdADDKEY:
- if (!generate_subkeypair (keyblock))
+ if (!generate_subkeypair (ctrl, keyblock))
{
redisplay = 1;
modified = 1;