SSL_CTX_callback_ctrl

Perform a low-level control operation that takes a function-pointer argument on an SSL context.

Synopsis

Declared in <openssl/ssl.h>

long
SSL_CTX_callback_ctrl(
    SSL_CTX* ctx,
    int cmd,
    void(* fp)());

Return Value

Command-specific long result; prefer typed helpers over calling this directly.

Parameters

NameDescription
ctxSSL context to manipulate.
cmdControl command that expects a callback (see SSL_CTRL_* helpers).
fpCallback pointer whose type and meaning depend on cmd.