aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-08 12:55:07 +0000
committerWerner Koch <[email protected]>2015-10-08 12:55:07 +0000
commitb6d621583fc9cbda6f9376a24f2f4cf11499a4fd (patch)
tree0835834b3544ef61043a8bef7b7f9888066461d0 /g10/gpg.c
parentgpg: Remove unfinished experimental code to export as S-expressions. (diff)
downloadgnupg-b6d621583fc9cbda6f9376a24f2f4cf11499a4fd.tar.gz
gnupg-b6d621583fc9cbda6f9376a24f2f4cf11499a4fd.zip
gpg: Pass CTRL parameter to all key listing functions.
* g10/keylist.c (public_key_list): Add arg CTRL. (secret_key_list): Ditto. (list_all, list_one): Ditto. (locate_one): Ditto. (list_keyblock_pka): Ditto. (list_keyblock): Ditto. (list_keyblock_direct): Ditto. * g10/keygen.c (proc_parameter_file): Add arg CTRL. (read_parameter_file): Ditto. (quick_generate_keypair): Ditto. (do_generate_keypair): Ditto. (generate_keypair): Pass arg CTRL. * g10/gpg.c (main): Pass arg CTRL to quick_generate_keypair. -- This will help use to implement the --server mode. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 9454b5309..557eeec61 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -3949,7 +3949,7 @@ main (int argc, char **argv)
if (argc != 1 )
wrong_args("--gen-key user-id");
username = make_username (fname);
- quick_generate_keypair (username);
+ quick_generate_keypair (ctrl, username);
xfree (username);
break;