[#OCSP_resp_get0] = OCSP_resp_get0 :mrdocs: Return the SingleResponse at index `idx` in a basic OCSP response. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OCSP_SINGLERESP.adoc[OCSP_SINGLERESP]* OCSP_resp_get0( xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* bs, int idx); ---- == Return Value Internal OCSP_SINGLERESP pointer, or NULL if `bs` is NULL or `idx` is out of range. == Parameters [cols="1,4"] |=== | Name| Description | *bs* | Basic OCSP response to query. | *idx* | Zero‐based index into the responses sequence. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#