[#OCSP_request_add1_cert] = OCSP_request_add1_cert :mrdocs: Add a certificate to the optional certs field of a signed OCSP request. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_request_add1_cert( xref:OCSP_REQUEST.adoc[OCSP_REQUEST]* req, xref:X509.adoc[X509]* cert); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *req* | OCSP request to update (typically after signing setup). | *cert* | Certificate to include; its reference count is incremented. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#