openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_LOG_GetVersion()

int32_t BSL_LOG_GetVersion ( char *  version,
uint32_t *  versionLen 
)

Obtain the openHiTLS version string.

注意
The length of the received version string must be greater than or equal to HITLS_VERSION_LEN.
参数
version[OUT] openHiTLS current version string.
versionLen[IN/OUT] String length of the current openHiTLS version.
返回值
BSL_SUCCESS,ifsuccess.
#BSL_LOG_ERR_MEMCPY,memorycopy failure.