openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetSessionCacheMode()

int32_t HITLS_CFG_SetSessionCacheMode ( HITLS_Config config,
HITLS_SESS_CACHE_MODE  mode 
)

Set the session cache mode.

Parameters
config[OUT] Config context.
mode[IN] Cache mode, corresponding to the HITLS_SESS_CACHE_MODE enumerated value.
Return values
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.