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

Name

Description

handle

Core handle identifying the provider whose parent libctx is mirrored.

in

Provider‐to‐core OSSL_DISPATCH table (BIO and related upcalls).

Created with MrDocs