[#OCSP_BASICRESP_get_ext_by_critical] = OCSP_BASICRESP_get_ext_by_critical :mrdocs: Find the next basic‐response extension with criticality `crit.` == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_BASICRESP_get_ext_by_critical( xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* x, int crit, int lastpos); ---- == Return Value Extension index, or ‐1 if not found. == Parameters [cols="1,4"] |=== | Name| Description | *x* | Basic OCSP response 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#