openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetMinProtoVersion()

int32_t HITLS_GetMinProtoVersion ( const HITLS_Ctx ctx,
uint16_t *  minVersion 
)

Obtain the latest protocol version.

参数
ctx[IN] TLS object
maxVersion[OUT] Latest protocol version supported
返回值
HITLS_SUCCESS,obtainedsuccessfully. For details about other error codes, see hitls_error.h.