Set the supported version number range.
- 参数
-
config | [OUT] Config handle |
minVersion | [IN] Minimum version number |
maxVersion | [IN] Maximum version number |
- 注意
- The maximum version number and minimum version number must be both TLS and DTLS. Currently, only DTLS 1.2. HITLS_CFG_NewDTLSConfig, HITLS_CFG_NewTLSConfig can be used with full configuration interfaces. If TLS full configuration is configured, only the TLS version can be set. If DTLS full configuration is configured, only the DTLS version can be set.
- 返回值
-
HITLS_SUCCESS,if | successful. |
HITLS_NULL_INPUT,config | is null. |