Find the next X509 extension with a given critical flag in a stack.
Declared in <openssl/x509.h>
int
X509v3_get_ext_by_critical(
stack_st_X509_EXTENSION const* x,
int crit,
int lastpos);
Index of the matching extension, or -1 if not found.
| Name | Description |
|---|---|
| x | Stack of extensions to search. |
| crit | Non-zero to match critical extensions, zero for non-critical. |
| lastpos | Index to search after, or -1 to start from the beginning. |