OCSP_ONEREQ_add_ext

Insert extension ex into a single OCSP request at position loc.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_ONEREQ_add_ext(
    OCSP_ONEREQ* x,
    X509_EXTENSION* ex,
    int loc);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
xSingle OCSP request entry to update.
exExtension to add (duplicated into the request).
locInsertion index, or -1 to append.