mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
This adds the needed code to make the OSSL_STORE API functions handle provided STORE implementations. This also modifies OSSL_STORE_attach() for have the URI, the library context and the properties in the same order as OSSL_STORE_open_with_libctx(). The most notable change, though, is how this creates a division of labor between libcrypto and any storemgmt implementation that wants to pass X.509, X.509 CRL, etc structures back to libcrypto. Since those structures aren't directly supported in the libcrypto <-> provider interface (asymmetric keys being the only exception so far), we resort to a libcrypto object callback that can handle passed data in DER form and does its part of figuring out what the DER content actually is. This also adds the internal x509_crl_set0_libctx(), which works just like x509_set0_libctx(), but for X509_CRL. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12512)
5 lines
177 B
Plaintext
5 lines
177 B
Plaintext
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]=\
|
|
store_err.c store_lib.c store_result.c store_strings.c store_meth.c \
|
|
store_init.c store_register.c loader_file.c
|