Home
last modified time | relevance | path

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

/external/libcups/cups/
Dtls-gnutls.c29 static char *tls_keypath = NULL; variable
290 if (tls_keypath) in cupsSetServerCredentials()
291 _cupsStrFree(tls_keypath); in cupsSetServerCredentials()
300 tls_keypath = _cupsStrAlloc(path); in cupsSetServerCredentials()
1294 if (http->mode == _HTTP_MODE_SERVER && !tls_keypath) in _httpTLSStart()
1413 http_gnutls_make_path(crtfile, sizeof(crtfile), tls_keypath, hostname, "crt"); in _httpTLSStart()
1414 http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, hostname, "key"); in _httpTLSStart()
1460 http_gnutls_make_path(crtfile, sizeof(crtfile), tls_keypath, tls_common_name, "crt"); in _httpTLSStart()
1461 http_gnutls_make_path(keyfile, sizeof(keyfile), tls_keypath, tls_common_name, "key"); in _httpTLSStart()
1506 …if (!cupsMakeServerCredentials(tls_keypath, hostname[0] ? hostname : tls_common_name, 0, NULL, tim… in _httpTLSStart()
Dtls-boringssl.c31 static char *tls_keypath = NULL; variable
346 if (http->mode == _HTTP_MODE_SERVER && !tls_keypath) in _httpTLSStart()
Dtls-darwin.c45 static char *tls_keypath = NULL; variable
382 if (tls_keypath) in cupsSetServerCredentials()
383 _cupsStrFree(tls_keypath); in cupsSetServerCredentials()
393 tls_keypath = _cupsStrAlloc(filename); in cupsSetServerCredentials()
1536 …if (!cupsMakeServerCredentials(tls_keypath, hostname[0] ? hostname : tls_common_name, 0, NULL, tim… in _httpTLSStart()