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

Name

Description

s

Server SSL connection processing the ClientHello.

al

On failure, set to a TLS alert description to send.

arg

Application pointer from SSL_CTX_set_client_hello_cb().

Created with MrDocs