diff options
| author | Werner Koch <[email protected]> | 2023-06-29 14:33:03 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2023-06-29 15:49:10 +0000 |
| commit | 5f694dc0be994e8cd3bc009139d1349f3b1fcf62 (patch) | |
| tree | 13135e00379e0f4bb382691854e101bc09246ceb /common/iobuf.c | |
| parent | sm: Major rewrite of the PKCS#12 parser (diff) | |
| download | gnupg-5f694dc0be994e8cd3bc009139d1349f3b1fcf62.tar.gz gnupg-5f694dc0be994e8cd3bc009139d1349f3b1fcf62.zip | |
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
Diffstat (limited to 'common/iobuf.c')
0 files changed, 0 insertions, 0 deletions
