gnupg/tests
Werner Koch 5f694dc0be
sm: Adding missing stuff to the PKCS#12 parser rewrite.
* sm/minip12.c (struct bufferlist_s): New.
(struct tlv_ctx_s): Add bufferlist.
(tlv_register_buffer): New.
(tlv_release): Release bufferlist.
(tlv_expect_object): Handle octet string cramming.
(tlv_expect_octet_string): Ditto.
(cram_octet_string): Changed interface.  We don't need the
input_consumed value anymore.

* sm/minip12.c (parse_shrouded_key_bag): Also parse the attribute set.

* sm/t-minip12.c (main): Add option --no-extra.
(cert_collect_cb, run_tests_from_file): Fix memory leak

* tests/cms/samplekeys/t5793-openssl.pfx: New from T5793.
* tests/cms/samplekeys/t5793-test.pfx: Ditto.
* tests/cms/samplekeys/Description-p12: Add them.
* tests/cms/Makefile.am (EXTRA_DIST): Add samplekeys.
--

This should finish the rewrite of the pkcsc#12 parser for now.  More
fun is likely to come.

GnuPG-bug-id: 6536, 5793
2023-06-29 17:49:10 +02:00
..
cms sm: Adding missing stuff to the PKCS#12 parser rewrite. 2023-06-29 17:49:10 +02:00
extrasamples Added sample certificates. 2006-05-16 09:54:41 +00:00
fake-pinentries docs: Point to https://dev.gnupg.org/ . 2017-05-18 15:05:57 -04:00
gpgme tests: Fix tests/gpgme for in-source-tree builds. 2022-12-21 10:52:24 +09:00
gpgscm tests: Fix to support --enable-all-tests and variants. 2022-11-24 15:57:25 +09:00
migrations tests: Fix to support --enable-all-tests and variants. 2022-11-24 15:57:25 +09:00
openpgp tests: Fix missing test message. 2022-12-16 12:02:35 +01:00
pkits tests: More fix for semihosted environment. 2022-12-01 17:09:45 +09:00
tpm2dtests tests: Restrict the use of gpgconf.ctl to make check. 2022-09-14 12:05:21 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am tests: New way to make use of gpgconf.ctl in tests. 2021-10-12 14:30:13 +02:00
asschk.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
gpgconf.ctl.in tests: Restrict the use of gpgconf.ctl to make check. 2022-09-14 12:05:21 +02:00
run-tests.scm tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00