Deep‐copy an ASN.1 value described by it.

Synopsis

Declared in <openssl/asn1.h>

void*
ASN1_item_dup(
    ASN1_ITEM const* it,
    void const* x);

Return Value

Newly allocated copy, or NULL on error; free with ASN1_item_free.

Parameters

Name

Description

it

ASN.1 item describing the type of x.

x

Value to duplicate.

Created with MrDocs