openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetVerifyDepth()

int32_t HITLS_SetVerifyDepth ( HITLS_Ctx ctx,
uint32_t  depth 
)

Set the certificate verification depth.

Parameters
ctx[OUT] TLS link object
depth[IN] Verification depth
Return values
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.