[#OCSP_REQUEST_add_ext] = OCSP_REQUEST_add_ext :mrdocs: Insert extension `ex` into an OCSP request at position `loc.` == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_REQUEST_add_ext( xref:OCSP_REQUEST.adoc[OCSP_REQUEST]* x, xref:X509_EXTENSION.adoc[X509_EXTENSION]* ex, int loc); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *x* | OCSP request to update. | *ex* | Extension to add (duplicated into the request). | *loc* | Insertion index, or ‐1 to append. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#