openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SESS_SetCipherSuite()

int32_t HITLS_SESS_SetCipherSuite ( HITLS_Session sess,
uint16_t  cipherSuite 
)

Set the session password suite.

参数
sess[OUT] Session information handle.
cipherSuite[IN] Password suite.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.