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

注意
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.
参数
ctx[IN] Ctx context
返回值
0indicates success. Other values indicate failure.