OCSP_basic_add1_cert

Add a certificate to the optional certs field of a basic OCSP response.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_basic_add1_cert(
    OCSP_BASICRESP* resp,
    X509* cert);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
respBasic response to update.
certCertificate to include (reference count increased).