OSSL_PROVIDER_set_default_search_path

Set the default filesystem search path used when loading providers.

Synopsis

Declared in <openssl/provider.h>

int
OSSL_PROVIDER_set_default_search_path(
    OSSL_LIB_CTX* libctx,
    char const* path);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
libctxLibrary context whose provider search path is updated, or NULL for the default.
pathDirectory path searched for provider modules.