openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetErrorCode()

int32_t HITLS_SetErrorCode ( HITLS_Ctx ctx,
int32_t  errorCode 
)

Record the error value of the HiTLS link.

参数
ctx[OUT] TLS connection handle
ret[IN] Error value
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.