Merge two OSSL_PARAM arrays, with p2 overriding duplicate keys from p1.

Synopsis

Declared in <openssl/params.h>

OSSL_PARAM*
OSSL_PARAM_merge(
    OSSL_PARAM const* p1,
    OSSL_PARAM const* p2);

Return Value

Newly allocated merged array freed with OSSL_PARAM_free(), or NULL on failure.

Parameters

Name

Description

p1

First array terminated by OSSL_PARAM_construct_end(), or NULL.

p2

Second array terminated by OSSL_PARAM_construct_end(), or NULL.

Created with MrDocs