[#OCSP_request_onereq_get0]
= OCSP&lowbar;request&lowbar;onereq&lowbar;get0
:mrdocs:

Return the single&hyphen;request entry at index `i` in an OCSP request&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;onereq&lowbar;get0(
    xref:OCSP_REQUEST.adoc[OCSP&lowbar;REQUEST]* req,
    int i);
----

== Return Value

Internal OCSP&lowbar;ONEREQ pointer, or NULL if `i` is out of range&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *req*
| OCSP request to query&period;
| *i*
| Zero&hyphen;based index into the requestList&period;
|===


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