[#ASN1_INTEGER_cmp]
= ASN1&lowbar;INTEGER&lowbar;cmp
:mrdocs:

Compare two ASN&period;1 INTEGER values numerically (including sign)&period;

== Synopsis

Declared in `&lt;openssl&sol;asn1&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;INTEGER&lowbar;cmp(
    xref:ASN1_INTEGER.adoc[ASN1&lowbar;INTEGER] const* x,
    xref:ASN1_INTEGER.adoc[ASN1&lowbar;INTEGER] const* y);
----

== Return Value

Negative, zero, or positive if `x` is less than, equal to, or greater than `y&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| First INTEGER&period;
| *y*
| Second INTEGER&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
