aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r--sm/gpgsm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index 49e7e3870..4a466050c 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -46,7 +46,7 @@
#include "../common/asshelp.h"
#include "../common/init.h"
#include "../common/compliance.h"
-
+#include "minip12.h"
#ifndef O_BINARY
#define O_BINARY 0
@@ -768,6 +768,10 @@ set_debug (void)
if (opt.debug)
parse_debug_flag (NULL, &opt.debug, debug_flags);
+
+ /* minip12.c may be used outside of GnuPG, thus we don't have the
+ * opt structure over there. */
+ p12_set_verbosity (opt.verbose);
}