mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* options.h (ctrl): New for member IN_AUTO_KEY_RETRIEVE.
* mainproc.c (check_sig_and_print): track whether we are retrieving a key. * status.c (status_currently_allowed): New. (write_status_text, write_status_text_and_buffer): Use it here. * g10.c: New command --gpgconf-list. (gpgconf_list): New. From Werner on stable branch.
This commit is contained in:
parent
c19c728afa
commit
cc383b6432
4 changed files with 62 additions and 6 deletions
|
@ -201,6 +201,15 @@ struct
|
|||
|
||||
} opt;
|
||||
|
||||
/* CTRL is used to keep some global variables we currently can't
|
||||
avoid. Future concurrent versions of gpg will put it into a per
|
||||
request structure CTRL. */
|
||||
EXTERN_UNLESS_MAIN_MODULE
|
||||
struct {
|
||||
int in_auto_key_retrieve; /* True if we are doing an
|
||||
auto_key_retrieve. */
|
||||
} ctrl;
|
||||
|
||||
#define DBG_PACKET_VALUE 1 /* debug packet reading/writing */
|
||||
#define DBG_MPI_VALUE 2 /* debug mpi details */
|
||||
#define DBG_CIPHER_VALUE 4 /* debug cipher handling */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue