OCSP_REQUEST_delete_ext

Remove and return the OCSP request extension at index loc.

Synopsis

Declared in <openssl/ocsp.h>

X509_EXTENSION*
OCSP_REQUEST_delete_ext(
    OCSP_REQUEST* x,
    int loc);

Return Value

Detached X509_EXTENSION the caller must free, or NULL if loc is invalid.

Parameters

NameDescription
xOCSP request to update.
locZero-based extension index.