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

Name

Description

ctx

SSL context to manipulate.

cmd

Control command that expects a callback (see SSL_CTRL_* helpers).

fp

Callback pointer whose type and meaning depend on cmd.

Created with MrDocs