[#ASN1_check_infinite_end]
= ASN1&lowbar;check&lowbar;infinite&lowbar;end
:mrdocs:

Check for an indefinite&hyphen;length end&hyphen;of&hyphen;contents (EOC) marker without consuming it&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;check&lowbar;infinite&lowbar;end(
    unsigned char** p,
    long len);
----

== Return Value

Non&hyphen;zero if an EOC is present (or `len` indicates end), or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p*
| Address of the input cursor pointing at candidate EOC octets&period;
| *len*
| Remaining bytes available at &ast;`p&period;`
|===


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