OSSL_LIB_CTX_new_child

Create a child library context mirroring providers from a provider's parent context.

Synopsis

Declared in <openssl/crypto.h>

OSSL_LIB_CTX*
OSSL_LIB_CTX_new_child(
    OSSL_CORE_HANDLE const* handle,
    OSSL_DISPATCH const* in);

Return Value

New child OSSL_LIB_CTX, or NULL on failure; free with OSSL_LIB_CTX_free().

Parameters

NameDescription
handleCore handle identifying the provider whose parent libctx is mirrored.
inProvider-to-core OSSL_DISPATCH table (BIO and related upcalls).