Searched refs:tls_common_name (Results 1 – 2 of 2) sorted by relevance
/external/libcups/cups/ |
D | tls-gnutls.c | 31 static char *tls_common_name = NULL; variable 275 if (tls_common_name) in cupsSetServerCredentials() 276 _cupsStrFree(tls_common_name); in cupsSetServerCredentials() 284 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials() 1437 else if (tls_common_name) in _httpTLSStart() 1443 http_gnutls_make_path(crtfile, sizeof(crtfile), tls_keypath, tls_common_name, "crt"); in _httpTLSStart() 1444 http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, tls_common_name, "key"); in _httpTLSStart() 1454 … snprintf(cacrtfile, sizeof(cacrtfile), "/etc/letsencrypt/live/%s/fullchain.pem", tls_common_name); in _httpTLSStart() 1455 … snprintf(cakeyfile, sizeof(cakeyfile), "/etc/letsencrypt/live/%s/privkey.pem", tls_common_name); in _httpTLSStart() 1457 …ss(cacrtfile, R_OK) || access(cakeyfile, R_OK)) && (hostptr = strchr(tls_common_name, '.')) != NUL… in _httpTLSStart() [all …]
|
D | tls-darwin.c | 41 static char *tls_common_name = NULL; variable 392 if (tls_common_name) in cupsSetServerCredentials() 393 _cupsStrFree(tls_common_name); in cupsSetServerCredentials() 402 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials() 417 tls_common_name = _cupsStrAlloc(common_name); in cupsSetServerCredentials() 1472 else if (tls_common_name) in _httpTLSStart() 1473 http->tls_credentials = http_cdsa_copy_server(tls_common_name); in _httpTLSStart() 1475 if (!http->tls_credentials && tls_auto_create && (hostname[0] || tls_common_name)) in _httpTLSStart() 1477 …("4_httpTLSStart: Auto-create credentials for \"%s\".", hostname[0] ? hostname : tls_common_name)); in _httpTLSStart() 1479 …if (!cupsMakeServerCredentials(tls_keypath, hostname[0] ? hostname : tls_common_name, 0, NULL, tim… in _httpTLSStart() [all …]
|