OPENSSL_sk_delete

Remove and return the element at index loc from a stack.

Synopsis

Declared in <openssl/stack.h>

void*
OPENSSL_sk_delete(
    OPENSSL_STACK* st,
    int loc);

Return Value

Removed element pointer, or NULL if loc is out of range.

Parameters

NameDescription
stStack to modify.
locZero-based index of the element to remove.