diff options
author | Werner Koch <[email protected]> | 2021-03-01 08:46:59 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-03-01 08:46:59 +0000 |
commit | e5af401fc4c3294de9a4f10630b200185329230b (patch) | |
tree | 1fba6023fd24fd0f8b83f19118db8ca5c1aa3403 | |
parent | doc: Explain how Tor is detected. (diff) | |
download | gnupg-e5af401fc4c3294de9a4f10630b200185329230b.tar.gz gnupg-e5af401fc4c3294de9a4f10630b200185329230b.zip |
sm: Silence some other pkcs#12 import prattle
* sm/minip12.c (parse_bag_data): Print a regular log_info only in
verbose mode.
--
-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 e1e1bce08..9096f0bf1 100644 --- a/sm/minip12.c +++ b/sm/minip12.c @@ -1389,8 +1389,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) |