• Home
  • Raw
  • Download

Lines Matching refs:tls

449   if (!http || !http->tls || !credentials)  in httpCopyCredentials()
452 if (!(error = SSLCopyPeerTrust(http->tls, &peerTrust)) && peerTrust) in httpCopyCredentials()
1080 if (!SSLGetBufferedReadSize(http->tls, &bytes)) in _httpTLSPending()
1101 error = SSLRead(http->tls, buf, (size_t)len, &processed); in _httpTLSRead()
1197 …if ((http->tls = SSLCreateContext(kCFAllocatorDefault, http->mode == _HTTP_MODE_CLIENT ? kSSLClien… in _httpTLSStart()
1207 error = SSLSetConnection(http->tls, http); in _httpTLSStart()
1212 error = SSLSetIOFuncs(http->tls, http_cdsa_read, http_cdsa_write); in _httpTLSStart()
1218 error = SSLSetSessionOption(http->tls, kSSLSessionOptionBreakOnServerAuth, in _httpTLSStart()
1236 error = SSLSetProtocolVersionMin(http->tls, protocols[tls_min_version]); in _httpTLSStart()
1242 error = SSLSetProtocolVersionMax(http->tls, protocols[tls_max_version]); in _httpTLSStart()
1256 error = SSLGetSupportedCiphers(http->tls, supported, &num_supported); in _httpTLSStart()
1404 error = SSLSetEnabledCiphers(http->tls, enabled, num_enabled); in _httpTLSStart()
1417 error = SSLSetSessionOption(http->tls, in _httpTLSStart()
1502 error = SSLSetCertificate(http->tls, http->tls_credentials); in _httpTLSStart()
1536 error = SSLSetPeerDomainName(http->tls, hostname, strlen(hostname)); in _httpTLSStart()
1568 error = SSLHandshake(http->tls); in _httpTLSStart()
1590 error = (cg->server_cert_cb)(http, http->tls, credentials, in _httpTLSStart()
1606 if (!(error = SSLCopyDistinguishedNames(http->tls, &dn_array)) && in _httpTLSStart()
1635 error = (cg->client_cert_cb)(http, http->tls, names, in _httpTLSStart()
1699 CFRelease(http->tls); in _httpTLSStart()
1700 http->tls = NULL; in _httpTLSStart()
1729 while (SSLClose(http->tls) == errSSLWouldBlock) in _httpTLSStop()
1732 CFRelease(http->tls); in _httpTLSStop()
1737 http->tls = NULL; in _httpTLSStop()
1758 error = SSLWrite(http->tls, buf, (size_t)len, &processed); in _httpTLSWrite()
2196 error = SSLSetCertificate(http->tls, credentials); in http_cdsa_set_credentials()