openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetVerifyDepth()

int32_t HITLS_CFG_GetVerifyDepth ( const HITLS_Config config,
uint32_t *  depth 
)

Obtain the certificate verification depth.

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