openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SESS_SetHaveExtMasterSecret()

int32_t HITLS_SESS_SetHaveExtMasterSecret ( HITLS_Session sess,
uint8_t  haveExtMasterSecret 
)

Set whether to contain the master key extension.

参数
sess[OUT] Session information handle.
haveExtMasterSecret[IN] Whether the master key extension is include.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.