Consume an indefinite‐length end‐of‐contents (EOC) marker of two zero octets.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_const_check_infinite_end(
    unsigned char const** p,
    long len);

Return Value

1 if EOC was found (or len is too small / exhausted), or 0 otherwise.

Parameters

Name

Description

p

Address of the input cursor; advanced past EOC when present.

len

Remaining bytes available at *`p.`

Created with MrDocs