openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_IsBeforeHandShake()

int32_t HITLS_IsBeforeHandShake ( const HITLS_Ctx ctx,
uint8_t *  isBefore 
)

Check whether the handshake has not been performed.

参数
ctx[IN] TLS connection handle
isBefore[OUT] Indicates whether the handshake has not been performed.
返回值
HITLS_SUCCESS,obtainingthe status succeeded. For other error codes, see hitls_error.h.