Append a UTF‐8 string pointer parameter that remains referenced until OSSL_PARAM_free().

Synopsis

Declared in <openssl/param_build.h>

int
OSSL_PARAM_BLD_push_utf8_ptr(
    OSSL_PARAM_BLD* bld,
    char const* key,
    char* buf,
    size_t bsize);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

bld

Parameter builder.

key

Parameter name string.

buf

UTF‐8 string; must remain valid until the resulting OSSL_PARAM array is freed.

bsize

Length of buf excluding NUL, or 0 to compute via strlen().

Created with MrDocs