Insert extension ex into a basic OCSP response at position loc.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_BASICRESP_add_ext(
    OCSP_BASICRESP* x,
    X509_EXTENSION* ex,
    int loc);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

x

Basic OCSP response to update.

ex

Extension to add (duplicated into the response).

loc

Insertion index, or ‐1 to append.

Created with MrDocs