gpg: Pass CTRL parameter to all key listing functions.
authorWerner Koch <wk@gnupg.org>
Thu, 8 Oct 2015 12:55:07 +0000 (14:55 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 8 Oct 2015 12:55:07 +0000 (14:55 +0200)
commitb6d621583fc9cbda6f9376a24f2f4cf11499a4fd
tree0835834b3544ef61043a8bef7b7f9888066461d0
parenta400958323d93036dca9c63135b167012ea64f8b
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 <wk@gnupg.org>
g10/gpg.c
g10/keygen.c
g10/keylist.c
g10/main.h