OSSL_STORE_INFO_new

Create an OSSL_STORE_INFO that takes ownership of data for type.

Synopsis

Declared in <openssl/store.h>

OSSL_STORE_INFO*
OSSL_STORE_INFO_new(
    int type,
    void* data);

Return Value

New OSSL_STORE_INFO, or NULL on error; free with OSSL_STORE_INFO_free().

Parameters

NameDescription
typeOSSL_STORE_INFO_* type code matching data.
dataObject pointer transferred to the new info (freed with the info).