Home
last modified time | relevance | path

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

/external/libcups/cups/
Dtls-darwin.c1471 http->tls_credentials = http_cdsa_copy_server(hostname); 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()
1489 http->tls_credentials = http_cdsa_copy_server(hostname[0] ? hostname : tls_common_name); in _httpTLSStart()
1492 if (!http->tls_credentials) in _httpTLSStart()
1502 error = SSLSetCertificate(http->tls, http->tls_credentials); in _httpTLSStart()
1507 DEBUG_printf(("4_httpTLSStart: tls_credentials=%p", (void *)http->tls_credentials)); in _httpTLSStart()
1734 if (http->tls_credentials) in _httpTLSStop()
1735 CFRelease(http->tls_credentials); in _httpTLSStop()
1738 http->tls_credentials = NULL; in _httpTLSStop()
[all …]
Dtls-gnutls.c1637 http->tls_credentials = credentials; in _httpTLSStart()
1660 if (http->tls_credentials) in _httpTLSStop()
1662 gnutls_certificate_free_credentials(*(http->tls_credentials)); in _httpTLSStop()
1663 free(http->tls_credentials); in _httpTLSStop()
1664 http->tls_credentials = NULL; in _httpTLSStop()
Dcups-private.h153 http_tls_credentials_t tls_credentials; member
Dusersys.c259 _httpFreeCredentials(cg->tls_credentials); in cupsSetCredentials()
260 cg->tls_credentials = _httpCreateCredentials(credentials); in cupsSetCredentials()
263 return (cg->tls_credentials ? 0 : -1); in cupsSetCredentials()
Dglobals.c352 _httpFreeCredentials(cg->tls_credentials); in cups_globals_free()
Dhttp-private.h340 http_tls_credentials_t tls_credentials; member
Dhttp.c2557 _httpFreeCredentials(http->tls_credentials); in httpSetCredentials()
2559 http->tls_credentials = _httpCreateCredentials(credentials); in httpSetCredentials()
2562 return (http->tls_credentials ? 0 : -1); in httpSetCredentials()