OSSL_PARAM_get_utf8_ptr

Read a UTF-8 pointer parameter without copying the string.

Synopsis

Declared in <openssl/params.h>

int
OSSL_PARAM_get_utf8_ptr(
    OSSL_PARAM const* p,
    char const** val);

Return Value

1 on success, or 0 on type/error mismatch.

Parameters

NameDescription
pSource parameter of type OSSL_PARAM_UTF8_PTR.
valReceives the pointer stored in (borrowed; do not free).