openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetVerifyResult()

int32_t HITLS_SetVerifyResult ( HITLS_Ctx ctx,
HITLS_ERROR  verifyResult 
)

Set the peer certificate verification result of the current context.

参数
ctx[IN] TLS connection handle
verifyResult[IN] Peer certificate verification result
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.