[#OCSP_response_create] = OCSP_response_create :mrdocs: Create an OCSP response with the given status and optional basic response. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OCSP_RESPONSE.adoc[OCSP_RESPONSE]* OCSP_response_create( int status, xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* bs); ---- == Return Value Newly allocated OCSP_RESPONSE, or NULL on error; free with OCSP_RESPONSE_free(). == Parameters [cols="1,4"] |=== | Name| Description | *status* | OCSPResponseStatus value such as OCSP_RESPONSE_STATUS_SUCCESSFUL. | *bs* | Optional BasicOCSPResponse to embed as responseBytes, or NULL for status‐only. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#