Return the typed object pointer from a store info when type matches (borrowed).

Synopsis

Declared in <openssl/store.h>

void*
OSSL_STORE_INFO_get0_data(
    int type,
    OSSL_STORE_INFO const* info);

Return Value

Internal data pointer if info has type, or NULL otherwise; do not free.

Parameters

Name

Description

type

Expected OSSL_STORE_INFO_* type code.

info

Store object to query.

Created with MrDocs