openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_NoSecRenegotiationCb

typedef int32_t(* HITLS_NoSecRenegotiationCb) (HITLS_Ctx *ctx)

Callback function when the peer end does not support security renegotiation.

Attention
If the user returns a failure message, the HITLS sends a handshake_failure alarm to the peer end and disconnects the link. If the user does not register the callback, the link establishment continues when the peer end does not support security renegotiation by default.
Parameters
ctx[IN] Ctx context
Return values
0indicates success. Other values indicate failure.