openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetServerNameArg()

int32_t HITLS_CFG_SetServerNameArg ( HITLS_Config config,
void *  arg 
)

Set the server_name parameters required during SNI negotiation on the server.

参数
ctx[OUT] ctx context
arg[IN] Set parameters related to server_name.
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.