Insert extension ex into a basic OCSP response at position loc.
Declared in <openssl/ocsp.h>
int
OCSP_BASICRESP_add_ext(
OCSP_BASICRESP* x,
X509_EXTENSION* ex,
int loc);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| x | Basic OCSP response to update. |
| ex | Extension to add (duplicated into the response). |
| loc | Insertion index, or -1 to append. |