Duplicate CRYPTO_EX_DATA entries from from into to for a class.
Declared in <openssl/crypto.h>
int
CRYPTO_dup_ex_data(
int class_index,
CRYPTO_EX_DATA* to,
CRYPTO_EX_DATA const* from);
1 on success, or 0 on failure.
| 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. |