OCSP_BASICRESP_add_ext

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

NameDescription
xBasic OCSP response to update.
exExtension to add (duplicated into the response).
locInsertion index, or -1 to append.