Compare two ASN.1 INTEGER values numerically (including sign).

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_INTEGER_cmp(
    ASN1_INTEGER const* x,
    ASN1_INTEGER const* y);

Return Value

Negative, zero, or positive if x is less than, equal to, or greater than y.

Parameters

Name

Description

x

First INTEGER.

y

Second INTEGER.

Created with MrDocs