ASN1_INTEGER_set

Set an ASN.1 INTEGER to a C long value.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_INTEGER_set(
    ASN1_INTEGER* a,
    long v);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
aInteger to update.
vValue to store.