diff options
author | Werner Koch <[email protected]> | 2021-02-25 08:16:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-02-25 08:16:18 +0000 |
commit | a170f0e73f38e474b6d4463433fe344eca865fa5 (patch) | |
tree | 730d647693276f6d15f6493048b93c595329bcc3 /sm/minip12.c | |
parent | sm: Fix issuer certificate look error due to legacy error code. (diff) | |
download | gnupg-a170f0e73f38e474b6d4463433fe344eca865fa5.tar.gz gnupg-a170f0e73f38e474b6d4463433fe344eca865fa5.zip |
sm: Do not print certain issuer not found diags in quiet mode.
* sm/certchain.c (find_up_dirmngr): Print one diagnostic only in
verbose mode. Do not print issuer not found diags in quiet mode.
* sm/minip12.c (parse_bag_data): Add missing verbose condition.
--
GnuPG-bug-id: 4757
Diffstat (limited to 'sm/minip12.c')
-rw-r--r-- | sm/minip12.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sm/minip12.c b/sm/minip12.c index a7537f06f..820e0d6b0 100644 --- a/sm/minip12.c +++ b/sm/minip12.c @@ -1449,8 +1449,9 @@ parse_bag_data (const unsigned char *buffer, size_t length, int startoffset, if (ti.class || ti.tag != TAG_OCTET_STRING || !ti.length ) goto bailout; - log_info ("%lu bytes of %s encrypted text\n", - ti.length, is_pbes2? "AES128":"3DES"); + if (opt_verbose) + log_info ("%lu bytes of %s encrypted text\n", + ti.length, is_pbes2? "AES128":"3DES"); plain = gcry_malloc_secure (ti.length); if (!plain) |