openssl/crypto/pkcs12
slontis fe2a7341b5 PKCS12 - Add additional libctx and propq support.
Fixes #19718
Fixes #19716

Added PKCS12_SAFEBAG_get1_cert_ex(), PKCS12_SAFEBAG_get1_crl_ex() and
ASN1_item_unpack_ex().

parse_bag and parse_bags now use the libctx/propq stored in the P7_CTX.
PKCS12_free() needed to be manually constructed in order to free the propq.

pkcs12_api_test.c changed so that it actually tests the libctx, propq.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19942)
2023-01-16 17:17:31 +01:00
..
build.info
p12_add.c PKCS12 - Add additional libctx and propq support. 2023-01-16 17:17:31 +01:00
p12_asn.c PKCS12 - Add additional libctx and propq support. 2023-01-16 17:17:31 +01:00
p12_attr.c PKCS12_SAFEBAG_set0_attrs: Remove const from function signature 2022-10-13 13:21:54 +01:00
p12_crpt.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
p12_crt.c Allow PKCS12 export to set arbitrary bag attributes 2022-09-23 17:40:02 +01:00
p12_decr.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
p12_init.c PKCS12 - Add additional libctx and propq support. 2023-01-16 17:17:31 +01:00
p12_key.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
p12_kiss.c PKCS12 - Add additional libctx and propq support. 2023-01-16 17:17:31 +01:00
p12_local.h PKCS12 - Add additional libctx and propq support. 2023-01-16 17:17:31 +01:00
p12_mutl.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
p12_npas.c
p12_p8d.c
p12_p8e.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
p12_sbag.c PKCS12 - Add additional libctx and propq support. 2023-01-16 17:17:31 +01:00
p12_utl.c PKCS12 - Add additional libctx and propq support. 2023-01-16 17:17:31 +01:00
pk12err.c Allow PKCS12 export to set arbitrary bag attributes 2022-09-23 17:40:02 +01:00