ASN1_const_check_infinite_end

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

NameDescription
pAddress of the input cursor; advanced past EOC when present.
lenRemaining bytes available at *p.