SSL_CTX_sess_get_new_cb

Return the new-session callback previously set on ctx.

Synopsis

Declared in <openssl/ssl.h>

int(*
SSL_CTX_sess_get_new_cb(SSL_CTX* ctx))(ssl_st*, SSL_SESSION*);

Return Value

Pointer to the callback, or NULL if unset.

Parameters

NameDescription
ctxSSL_CTX to query.