[#OCSP_basic_add1_cert] = OCSP_basic_add1_cert :mrdocs: Add a certificate to the optional certs field of a basic OCSP response. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_basic_add1_cert( xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* resp, xref:X509.adoc[X509]* cert); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *resp* | Basic response to update. | *cert* | Certificate to include (reference count increased). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#