OCSP_SINGLERESP_delete_ext

Remove and return the SingleResponse extension at index loc.

Synopsis

Declared in <openssl/ocsp.h>

X509_EXTENSION*
OCSP_SINGLERESP_delete_ext(
    OCSP_SINGLERESP* x,
    int loc);

Return Value

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

Parameters

NameDescription
xSingleResponse to update.
locZero-based extension index.