Check for an indefinite‐length end‐of‐contents (EOC) marker without consuming it.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_check_infinite_end(
    unsigned char** p,
    long len);

Return Value

Non‐zero if an EOC is present (or len indicates end), or 0 otherwise.

Parameters

Name

Description

p

Address of the input cursor pointing at candidate EOC octets.

len

Remaining bytes available at *`p.`

Created with MrDocs