Replace the pointer at index i in a stack.
Declared in <openssl/stack.h>
void*
OPENSSL_sk_set(
OPENSSL_STACK* st,
int i,
void const* data);
Previous pointer at i, or NULL if i is out of range.
| Name | Description |
|---|---|
| st | Stack to update. |
| i | Zero-based index of the slot to replace. |
| data | New element pointer stored at i. |