/external/curl/lib/vtls/ |
schannel.c | 109 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 135 connssl->use_alpn = conn->bits.tls_enable_alpn && 141 connssl->use_alpn = false; 144 connssl->cred = NULL; 150 connssl->cred = old_cred; 154 connssl->cred->refcount++; 156 connssl->cred->refcount); 161 if(!connssl->cred) { 233 connssl->cred = (struct curl_schannel_cred *) 235 if(!connssl->cred) 406 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 648 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 784 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 897 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1043 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1370 const struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1392 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1540 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
mbedtls.c | 165 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 187 mbedtls_ctr_drbg_init(&connssl->ctr_drbg); 189 ret = mbedtls_ctr_drbg_seed(&connssl->ctr_drbg, entropy_func_mutex, 199 mbedtls_entropy_init(&connssl->entropy); 200 mbedtls_ctr_drbg_init(&connssl->ctr_drbg); 202 ret = mbedtls_ctr_drbg_seed(&connssl->ctr_drbg, mbedtls_entropy_func, 203 &connssl->entropy, NULL, 0); 214 mbedtls_x509_crt_init(&connssl->cacert); 217 ret = mbedtls_x509_crt_parse_file(&connssl->cacert, ssl_cafile); 232 ret = mbedtls_x509_crt_parse_path(&connssl->cacert, ssl_capath) 454 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 614 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 738 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
polarssl.c | 149 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 167 if((ret = ctr_drbg_init(&connssl->ctr_drbg, entropy_func_mutex, &entropy, 174 entropy_init(&connssl->entropy); 176 if((ret = ctr_drbg_init(&connssl->ctr_drbg, entropy_func, &connssl->entropy, 185 memset(&connssl->cacert, 0, sizeof(x509_crt)); 188 ret = x509_crt_parse_file(&connssl->cacert, 202 ret = x509_crt_parse_path(&connssl->cacert, capath); 215 memset(&connssl->clicert, 0, sizeof(x509_crt)); 218 ret = x509_crt_parse_file(&connssl->clicert 398 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 549 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 670 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
gskit.c | 494 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 498 QsoWaitForIOCompletion(connssl->iocport, &cstat, (struct timeval *) NULL); 502 static void close_async_handshake(struct ssl_connect_data *connssl) 504 QsoDestroyIOCompletionPort(connssl->iocport); 505 connssl->iocport = -1; 605 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 616 if(!connssl->use || !connproxyssl->use) 623 FD_SET(connssl->remotefd, &fds_write); 624 n = connssl->remotefd; 627 FD_SET(connssl->remotefd, &fds_read) 755 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 985 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1036 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1123 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1226 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
darwinssl.c | 128 struct ssl_connect_data *connssl = (struct ssl_connect_data *)connection; local 129 int sock = connssl->ssl_sockfd; 158 connssl->ssl_direction = false; 188 struct ssl_connect_data *connssl = (struct ssl_connect_data *)connection; local 189 int sock = connssl->ssl_sockfd; 209 connssl->ssl_direction = true; 1042 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1900 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2042 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2166 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2299 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2320 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2397 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; local 2413 const struct ssl_connect_data *connssl = &conn->ssl[connindex]; local 2470 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2536 struct ssl_connect_data *connssl = &conn->ssl[num]; local [all...] |
openssl.c | 902 static void ossl_close(struct ssl_connect_data *connssl) 904 if(connssl->handle) { 905 (void)SSL_shutdown(connssl->handle); 906 SSL_set_connect_state(connssl->handle); 908 SSL_free (connssl->handle); 909 connssl->handle = NULL; 911 if(connssl->ctx) { 912 SSL_CTX_free (connssl->ctx); 913 connssl->ctx = NULL; 933 struct ssl_connect_data *connssl = &conn->ssl[sockindex] local 1704 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2206 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2912 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2983 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
cyassl.c | 593 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 595 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); 602 our_ssl_sessionid = SSL_get_session(connssl->handle); 627 connssl->connecting_state = ssl_connect_done; 752 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 754 if(connssl->handle) { 755 SSL_free (connssl->handle); 756 connssl->handle = NULL; 770 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 776 if(ssl_connection_complete == connssl->state) [all...] |
nss.c | 987 static CURLcode cmp_peer_pubkey(struct ssl_connect_data *connssl, 991 struct Curl_easy *data = connssl->data; 999 cert = SSL_PeerCertificate(connssl->handle); 1042 struct ssl_connect_data *connssl = (struct ssl_connect_data *)arg; local 1129 struct ssl_connect_data *connssl = (struct ssl_connect_data *)secret; local 1409 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1637 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1923 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1988 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
axtls.c | 121 static void free_ssl_structs(struct ssl_connect_data *connssl) 123 if(connssl->ssl) { 124 ssl_free (connssl->ssl); 125 connssl->ssl = NULL; 127 if(connssl->ssl_ctx) { 128 ssl_ctx_free(connssl->ssl_ctx); 129 connssl->ssl_ctx = NULL; 543 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 547 /* line from openssl.c: (void)SSL_shutdown(connssl->ssl); 552 SSL_set_connect_state(connssl->handle); * 567 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 619 struct ssl_connect_data *connssl = &conn->ssl[num]; local [all...] |
gtls.c | 277 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 295 if(connssl->connecting_state == ssl_connect_2_reading 296 || connssl->connecting_state == ssl_connect_2_writing) { 299 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; 301 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; 326 connssl->connecting_state = 361 connssl->connecting_state = ssl_connect_1; [all...] |
vtls.c | 494 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; local 499 if(connssl->connecting_state == ssl_connect_2_writing) { 504 else if(connssl->connecting_state == ssl_connect_2_reading) {
|