Return the element at index idx in a stack (no bounds checking beyond returning NULL).

Synopsis

Declared in <openssl/stack.h>

void*
OPENSSL_sk_value(
    OPENSSL_STACK const* st,
    int idx);

Return Value

Element pointer, or NULL if idx is out of range.

Parameters

Name

Description

st

Stack to query.

idx

Zero‐based index.

Created with MrDocs