openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_IsDtls()

int32_t HITLS_IsDtls ( const HITLS_Ctx ctx,
uint8_t *  isDtls 
)

Check whether DTLS is used.

参数
ctx[IN] TLS object
isDtls[OUT] Indicates whether to use DTLS.
返回值
HITLS_SUCCESS,isobtained successfully. HITLS_NULL_INPUT, The input parameter pointer is null.