Server callback that decides whether to accept TLSv1.3 early data for a connection.

Synopsis

Declared in <openssl/ssl.h>

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

Return Value

1 to allow early data, or 0 to reject it.

Parameters

Name

Description

s

Server SSL connection that received early data / a 0‐RTT ClientHello.

arg

Application pointer from SSL_CTX_set_allow_early_data_cb() / SSL_set_allow_early_data_cb().

Created with MrDocs