aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-02-01 14:20:29 +0000
committerWerner Koch <[email protected]>2022-02-01 14:20:29 +0000
commit623a427b0cb6fc2334e86b7c6f6133b296b0807b (patch)
tree164ad636a12bd646bfba42b7b4a361a5f2bd7aec /sm/gpgsm.c
parentgpg,sm: Set --verbose and clear --quiet in debug mode. (diff)
downloadgnupg-623a427b0cb6fc2334e86b7c6f6133b296b0807b.tar.gz
gnupg-623a427b0cb6fc2334e86b7c6f6133b296b0807b.zip
sm: Partly revert last commit.
* sm/gpgsm.c (set_debug): Remove doubled code. -- It was already there; sorry. Fixes-commit: 51edea995d352a7b557fb0315fa5091dc42065cb
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r--sm/gpgsm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index 0a720904b..b95edf83b 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -779,12 +779,6 @@ set_debug (void)
if (opt.debug)
parse_debug_flag (NULL, &opt.debug, debug_flags);
- /* Make sure that we are --verbose in debug mode. */
- if (opt.debug && !opt.verbose)
- opt.verbose = 1;
- if (opt.debug && opt.quiet)
- opt.quiet = 0;
-
/* minip12.c may be used outside of GnuPG, thus we don't have the
* opt structure over there. */
p12_set_verbosity (opt.verbose);