Control-command callback for an X509_LOOKUP_METHOD.
Declared in <openssl/x509_vfy.h>
typedef int(* X509_LOOKUP_ctrl_fn)(X509_LOOKUP*, int, char const*, long, char**);
Positive value on success, or <=0 on failure (command-specific).
| Name | Description |
|---|---|
| ctx | Lookup object receiving the command. |
| cmd | Control command such as X509_L_FILE_LOAD. |
| argc | String argument for cmd, or NULL. |
| argl | Integer argument for cmd. |
| ret | Optional address receiving a result string, or NULL. |