Home
last modified time | relevance | path

Searched refs:tmp_cur_ver (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
H A Dkey_agreement_version.c50 char *tmp_cur_ver = (char *)MALLOC(len_cur_ver + 1); in parse_version() local
51 if (tmp_cur_ver == NULL) { in parse_version()
54 (void)memset_s(tmp_cur_ver, len_cur_ver + 1, 0, len_cur_ver + 1); in parse_version()
55 if (strcpy_s(tmp_cur_ver, len_cur_ver + 1, str_cur_ver) != EOK) { in parse_version()
56 FREE(tmp_cur_ver); in parse_version()
57 tmp_cur_ver = NULL; in parse_version()
60 split_ver(tmp_cur_ver, sub_cur_ver, min_ver, next); in parse_version()
61 FREE(tmp_cur_ver); in parse_version()
62 tmp_cur_ver = NULL; in parse_version()