aboutsummaryrefslogtreecommitdiffstats
path: root/sm/minip12.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-06-28 15:33:24 +0000
committerWerner Koch <[email protected]>2023-06-28 15:34:19 +0000
commit101433dfb42b333e48427baf9dd58ac4787c9786 (patch)
tree34bddebb7e77d36f3b200b3c6ce2a1b603769441 /sm/minip12.h
parentsm: Remove duplicated code. (diff)
downloadgnupg-101433dfb42b333e48427baf9dd58ac4787c9786.tar.gz
gnupg-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/minip12.h')
-rw-r--r--sm/minip12.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/minip12.h b/sm/minip12.h
index 84c5f5f79..654cab0e6 100644
--- a/sm/minip12.h
+++ b/sm/minip12.h
@@ -23,7 +23,7 @@
#include <gcrypt.h>
-void p12_set_verbosity (int verbose);
+void p12_set_verbosity (int verbose, int debug);
gcry_mpi_t *p12_parse (const unsigned char *buffer, size_t length,
const char *pw,