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/
Dssl_pm.c845 char *name_cstr = NULL; in X509_VERIFY_PARAM_set1_host() local
848 name_cstr = malloc(namelen + 1); in X509_VERIFY_PARAM_set1_host()
849 if (!name_cstr) in X509_VERIFY_PARAM_set1_host()
851 memcpy(name_cstr, name, namelen); in X509_VERIFY_PARAM_set1_host()
852 name_cstr[namelen] = '\0'; in X509_VERIFY_PARAM_set1_host()
853 name = name_cstr; in X509_VERIFY_PARAM_set1_host()
859 free(name_cstr); in X509_VERIFY_PARAM_set1_host()