openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetCipherServerPreference()

int32_t HITLS_SetCipherServerPreference ( HITLS_Ctx ctx,
bool  isSupport 
)

The algorithm suite can be preferentially selected from the algorithm list supported by the server.

参数
ctx[IN] TLS Connection Handle.
isSupport[IN] Support or Not.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is NULL.
HITLS_SUCCESS,ifsuccessful.