1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: No warning in quiet mode for S2K mode 0.

--
This commit is contained in:
Werner Koch 2021-03-24 10:46:21 +01:00
parent 14ef703ad6
commit 5346da61c1
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -3906,7 +3906,8 @@ main (int argc, char **argv)
log_error(_("invalid min-cert-level; must be 1, 2, or 3\n"));
switch( opt.s2k_mode ) {
case 0:
log_info(_("Note: simple S2K mode (0) is strongly discouraged\n"));
if (!opt.quiet)
log_info(_("Note: simple S2K mode (0) is strongly discouraged\n"));
break;
case 1: case 3: break;
default: