openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetVerifyDepth()

int32_t HITLS_CFG_SetVerifyDepth ( HITLS_Config config,
uint32_t  depth 
)

Set the certificate verification depth.

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