Duplicate CRYPTO_EX_DATA entries from from into to for a class.

Synopsis

Declared in <openssl/crypto.h>

int
CRYPTO_dup_ex_data(
    int class_index,
    CRYPTO_EX_DATA* to,
    CRYPTO_EX_DATA const* from);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

class_index

CRYPTO_EX_INDEX_* identifying the object class.

to

Destination ex_data container (typically freshly initialized).

from

Source ex_data to copy.

Created with MrDocs