openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SESS_SetSessionId()

int32_t HITLS_SESS_SetSessionId ( HITLS_Session sess,
uint8_t *  sessionId,
uint32_t  sessionIdSize 
)

Set the session ID.

参数
sess[OUT] Session information handle.
sessionId[IN] Session id.
sessionIdSize[IN] The session ID contains a maximum of 32 bytes.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.