openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetMaxCertList()

int32_t HITLS_CFG_SetMaxCertList ( HITLS_Config config,
uint32_t  maxSize 
)

Set the maximum size of the certificate chain that can be sent by the peer end.

参数
config[IN/OUT] TLS link configuration.
maxSize[IN] Set the maximum size of the certificate chain that can be sent by the peer end.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is null.
HITLS_SUCCESS,ifsuccessful.