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

Name

Description

req

OCSP request to update.

cid

CertID identifying the certificate to query; ownership transfers on success.

Created with MrDocs