openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetNoSecRenegotiationCb()

int32_t HITLS_CFG_SetNoSecRenegotiationCb ( HITLS_Config config,
HITLS_NoSecRenegotiationCb  callback 
)

Set the callback function when the peer end does not support security renegotiation.

Parameters
config[OUT] Config context
callback[IN] Callback function when the peer end does not support security renegotiation
Return values
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.