mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
sm: Silence some output on --quiet
* sm/encrypt.c (gpgsm_encrypt): Take care of --quiet. * sm/gpgsm.c: Include minip12.h. (set_debug): Call p12_set_verbosity. * sm/import.c (parse_p12): Dump keygrip only in debug mode. * sm/minip12.c (opt_verbose, p12_set_verbosity): New. (parse_bag_encrypted_data): Print info messages only in verbose mode. -- GnuPG-bug-id: 4757
This commit is contained in:
parent
33aaa37e5b
commit
615d2e4fb1
5 changed files with 29 additions and 7 deletions
|
@ -46,7 +46,7 @@
|
|||
#include "../common/asshelp.h"
|
||||
#include "../common/init.h"
|
||||
#include "../common/compliance.h"
|
||||
|
||||
#include "minip12.h"
|
||||
|
||||
#ifndef O_BINARY
|
||||
#define O_BINARY 0
|
||||
|
@ -768,6 +768,10 @@ set_debug (void)
|
|||
|
||||
if (opt.debug)
|
||||
parse_debug_flag (NULL, &opt.debug, debug_flags);
|
||||
|
||||
/* minip12.c may be used outside of GnuPG, thus we don't have the
|
||||
* opt structure over there. */
|
||||
p12_set_verbosity (opt.verbose);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue