Install a comparison function on a stack and mark it as unsorted.
Declared in <openssl/stack.h>
OPENSSL_sk_compfunc
OPENSSL_sk_set_cmp_func(
OPENSSL_STACK* sk,
OPENSSL_sk_compfunc cmp);
Previous comparison function, or NULL.
| Name | Description |
|---|---|
| sk | Stack to update. |
| cmp | New comparison callback, or NULL to clear ordering. |