openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetVerifyDepth()

int32_t HITLS_SetVerifyDepth ( HITLS_Ctx ctx,
uint32_t  depth 
)

Set the certificate verification depth.

参数
ctx[OUT] TLS link object
depth[IN] Verification depth
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.