diff options
| author | Werner Koch <[email protected]> | 2015-10-08 12:55:07 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2015-10-08 12:55:07 +0000 |
| commit | b6d621583fc9cbda6f9376a24f2f4cf11499a4fd (patch) | |
| tree | 0835834b3544ef61043a8bef7b7f9888066461d0 /g10/gpg.c | |
| parent | gpg: Remove unfinished experimental code to export as S-expressions. (diff) | |
| download | gnupg-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
