summaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-06-28 17:33:24 +0200
committerWerner Koch <wk@gnupg.org>2023-06-28 17:34:19 +0200
commit101433dfb42b333e48427baf9dd58ac4787c9786 (patch)
tree34bddebb7e77d36f3b200b3c6ce2a1b603769441 /sm/gpgsm.c
parentsm: Remove duplicated code. (diff)
downloadgnupg2-101433dfb42b333e48427baf9dd58ac4787c9786.tar.xz
gnupg2-101433dfb42b333e48427baf9dd58ac4787c9786.zip
sm: Major rewrite of the PKCS#12 parser
* sm/minip12.c: Reworked most of the parser. (p12_set_verbosity): Add arg debug and change all callers. * sm/t-minip12.c: Major rewrite to run regression tests unattended. * sm/Makefile.am (module_maint_tests): Move t-Minit to ... (module_tests): here. * tests/cms/samplekeys/Description-p12: New. -- Note that cram_octet_string stuff has not yet been reworked. I need to locate the sample files first. GnuPG-bug-id: 6536
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r--sm/gpgsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index ad7652c7d..ce977413d 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -804,7 +804,7 @@ set_debug (void)
/* minip12.c may be used outside of GnuPG, thus we don't have the
* opt structure over there. */
- p12_set_verbosity (opt.verbose);
+ p12_set_verbosity (opt.verbose, opt.debug);
}