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

Name

Description

resp

Basic response to update.

cert

Certificate to include (reference count increased).

Created with MrDocs