Find the next single‐request extension with criticality crit.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_ONEREQ_get_ext_by_critical(
    OCSP_ONEREQ* x,
    int crit,
    int lastpos);

Return Value

Extension index, or ‐1 if not found.

Parameters

Name

Description

x

Single OCSP request entry whose extensions are searched.

crit

Nonzero to match critical extensions, zero for non‐critical.

lastpos

Index after which to search, or ‐1 to start from the beginning.

Created with MrDocs