[#OCSP_request_add0_id]
= OCSP&lowbar;request&lowbar;add0&lowbar;id
:mrdocs:

Append a CertID as a new single&hyphen;request entry, taking ownership of `cid&period;`

== Synopsis

Declared in `&lt;openssl&sol;ocsp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OCSP_ONEREQ.adoc[OCSP&lowbar;ONEREQ]*
OCSP&lowbar;request&lowbar;add0&lowbar;id(
    xref:OCSP_REQUEST.adoc[OCSP&lowbar;REQUEST]* req,
    xref:OCSP_CERTID.adoc[OCSP&lowbar;CERTID]* cid);
----

== Return Value

Internal OCSP&lowbar;ONEREQ pointer on success, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *req*
| OCSP request to update&period;
| *cid*
| CertID identifying the certificate to query&semi; ownership transfers on success&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
