Sets whether to verify the version in the premaster secret.
- 参数
-
ctx | [OUT] TLS Connection Handle. |
needCheck | [IN] Indicates whether to perform check. |
- 注意
- This parameter is valid for versions earlier than TLS1.1. true indicates that verification is supported, and false indicates that verification is not supported. In this case, rollback attacks may occur. For versions later than TLS1.1, forcible verification is supported. This interface takes effect on the server.
- 返回值
-
HITLS_SUCCESS,if | successful. |
HITLS_NULL_INPUT,config | is null. |