Home
last modified time | relevance | path

Searched refs:name_cstr (Results 1 - 1 of 1) sorted by relevance

/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
H A Dssl_pm.c858 char *name_cstr = NULL; in X509_VERIFY_PARAM_set1_host() local
861 name_cstr = malloc(namelen + 1); in X509_VERIFY_PARAM_set1_host()
862 if (!name_cstr) in X509_VERIFY_PARAM_set1_host()
864 memcpy(name_cstr, name, namelen); in X509_VERIFY_PARAM_set1_host()
865 name_cstr[namelen] = '\0'; in X509_VERIFY_PARAM_set1_host()
866 name = name_cstr; in X509_VERIFY_PARAM_set1_host()
872 free(name_cstr); in X509_VERIFY_PARAM_set1_host()

Completed in 2 milliseconds