ASN1_INTEGER_dup

Deep-copy an ASN.1 INTEGER.

Synopsis

Declared in <openssl/asn1.h>

ASN1_INTEGER*
ASN1_INTEGER_dup(ASN1_INTEGER const* a);

Return Value

Newly allocated ASN1_INTEGER copy, or NULL on error; free with ASN1_INTEGER_free().

Parameters

NameDescription
aINTEGER to duplicate.