Insert extension ex into an OCSP request at position loc.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_REQUEST_add_ext(
    OCSP_REQUEST* x,
    X509_EXTENSION* ex,
    int loc);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

x

OCSP request to update.

ex

Extension to add (duplicated into the request).

loc

Insertion index, or ‐1 to append.

Created with MrDocs