Copy type, data, and flags from str into dst.
Declared in <openssl/asn1.h>
int
ASN1_STRING_copy(
ASN1_STRING* dst,
ASN1_STRING const* str);
Preserves any ASN1_STRING_FLAG_EMBED bit already set on dst.
1 on success, or 0 on failure (including when str is NULL).
| Name | Description |
|---|---|
| dst | Destination string; must already be allocated. |
| str | Source ASN1_STRING whose contents are copied into dst. |