OCSP_BASICRESP_delete_ext

Remove and return the basic-response extension at index loc.

Synopsis

Declared in <openssl/ocsp.h>

X509_EXTENSION*
OCSP_BASICRESP_delete_ext(
    OCSP_BASICRESP* x,
    int loc);

Return Value

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

Parameters

NameDescription
xBasic OCSP response to update.
locZero-based extension index.