openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetVersionSupport()

int32_t HITLS_GetVersionSupport ( const HITLS_Ctx ctx,
uint32_t *  version 
)

Obtain the supported version number.

参数
ctx[IN] TLS connection handle.
version[OUT] Supported version number.
返回值
HITLS_SUCCESS,ifsuccessful.
HITLS_NULL_INPUT,configis null.