Set the thread‐local default OSSL_LIB_CTX used when NULL is passed for libctx.

Synopsis

Declared in <openssl/crypto.h>

OSSL_LIB_CTX*
OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX* libctx);

Return Value

The previous default library context.

Parameters

Name

Description

libctx

Library context to install as the default, or NULL to restore the global default.

Created with MrDocs