mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
sm: Silence some other pkcs#12 import prattle
* sm/minip12.c (parse_bag_data): Print a regular log_info only in verbose mode. --
This commit is contained in:
parent
b8998e5ee0
commit
e5af401fc4
@ -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 )
|
if (ti.class || ti.tag != TAG_OCTET_STRING || !ti.length )
|
||||||
goto bailout;
|
goto bailout;
|
||||||
|
|
||||||
log_info ("%lu bytes of %s encrypted text\n",
|
if (opt_verbose)
|
||||||
ti.length, is_pbes2? "AES128":"3DES");
|
log_info ("%lu bytes of %s encrypted text\n",
|
||||||
|
ti.length, is_pbes2? "AES128":"3DES");
|
||||||
|
|
||||||
plain = gcry_malloc_secure (ti.length);
|
plain = gcry_malloc_secure (ti.length);
|
||||||
if (!plain)
|
if (!plain)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user