SSL_client_hello_cb_fn

Server callback invoked after a ClientHello is received and parsed.

Synopsis

Declared in <openssl/ssl.h>

typedef int(* SSL_client_hello_cb_fn)(SSL*, int*, void*);

Return Value

SSL_CLIENT_HELLO_SUCCESS, SSL_CLIENT_HELLO_ERROR, or SSL_CLIENT_HELLO_RETRY.

Parameters

NameDescription
sServer SSL connection processing the ClientHello.
alOn failure, set to a TLS alert description to send.
argApplication pointer from SSL_CTX_set_client_hello_cb().