OCSP_request_add0_id

Append a CertID as a new single-request entry, taking ownership of cid.

Synopsis

Declared in <openssl/ocsp.h>

OCSP_ONEREQ*
OCSP_request_add0_id(
    OCSP_REQUEST* req,
    OCSP_CERTID* cid);

Return Value

Internal OCSP_ONEREQ pointer on success, or NULL on error.

Parameters

NameDescription
reqOCSP request to update.
cidCertID identifying the certificate to query; ownership transfers on success.