openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetHandShakeState()

int32_t HITLS_GetHandShakeState ( const HITLS_Ctx ctx,
uint32_t *  state 
)

Obtain the current handshake status.

参数
ctx[IN] TLS connection handle
state[OUT] Current handshake status
返回值
HITLS_SUCCESS,Obtainingthe status succeeded. For details about other error codes, see hitls_error.h.