openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SESS_SetSessionIdCtx()

int32_t HITLS_SESS_SetSessionIdCtx ( HITLS_Session sess,
uint8_t *  sessionIdCtx,
uint32_t  sessionIdCtxSize 
)

Set the session ID ctx.

参数
sess[OUT] Session information handle.
sessionIdCtx[IN] Session ID Context.
sessionIdCtxSize[IN] Session ID Context length. The maximum length is 32 bytes.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.