SSL_CTX_set_client_hello_cb

Install a server callback invoked after each ClientHello is parsed.

Synopsis

Declared in <openssl/ssl.h>

void
SSL_CTX_set_client_hello_cb(
    SSL_CTX* c,
    SSL_client_hello_cb_fn cb,
    void* arg);

Parameters

NameDescription
cServer SSL context that receives ClientHellos.
cbCallback of type SSL_client_hello_cb_fn, or NULL to clear.
argApplication pointer forwarded to cb.