openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetSession()

int32_t HITLS_SetSession ( HITLS_Ctx ctx,
HITLS_Session session 
)

Set the handle for the session information about the HiTLS link.

Attention
Used only by the client.
Parameters
ctx[OUT] TLS connection handle
session[IN] Session information handle.
Return values
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.