OCSP_SINGLERESP_add_ext

Insert extension ex into a SingleResponse at position loc.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_SINGLERESP_add_ext(
    OCSP_SINGLERESP* x,
    X509_EXTENSION* ex,
    int loc);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
xSingleResponse to update.
exExtension to add (duplicated into the SingleResponse).
locInsertion index, or -1 to append.