diff options
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) |