mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
|
@ -1348,7 +1348,12 @@ check_sig_and_print( CTX c, KBNODE node )
|
|||
if( rc == G10ERR_NO_PUBKEY && opt.keyserver
|
||||
&& (opt.keyserver_options.options&KEYSERVER_AUTO_KEY_RETRIEVE))
|
||||
{
|
||||
if( keyserver_import_keyid ( sig->keyid )==0 )
|
||||
int res;
|
||||
|
||||
ctrl.in_auto_key_retrieve++;
|
||||
res=keyserver_import_keyid ( sig->keyid );
|
||||
ctrl.in_auto_key_retrieve--;
|
||||
if(!res)
|
||||
rc = do_check_sig(c, node, NULL, &is_expkey, &is_revkey );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue