/external/curl/lib/vtls/ |
schannel.c | 109 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 130 connssl->cred = NULL; 136 connssl->cred = old_cred; 140 connssl->cred->refcount++; 142 connssl->cred->refcount); 147 if(!connssl->cred) { 213 connssl->cred = (struct curl_schannel_cred *) 215 if(!connssl->cred) { 219 memset(connssl->cred, 0, sizeof(struct curl_schannel_cred)); 220 connssl->cred->refcount = 1 383 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 623 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 758 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 870 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1017 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1344 const struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1366 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1512 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
mbedtls.c | 162 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 176 mbedtls_ctr_drbg_init(&connssl->ctr_drbg); 178 ret = mbedtls_ctr_drbg_seed(&connssl->ctr_drbg, entropy_func_mutex, 188 mbedtls_entropy_init(&connssl->entropy); 189 mbedtls_ctr_drbg_init(&connssl->ctr_drbg); 191 ret = mbedtls_ctr_drbg_seed(&connssl->ctr_drbg, mbedtls_entropy_func, 192 &connssl->entropy, NULL, 0); 203 mbedtls_x509_crt_init(&connssl->cacert); 206 ret = mbedtls_x509_crt_parse_file(&connssl->cacert, 222 ret = mbedtls_x509_crt_parse_path(&connssl->cacert 437 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 597 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 721 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
polarssl.c | 144 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 167 if((ret = ctr_drbg_init(&connssl->ctr_drbg, entropy_func_mutex, &entropy, 176 entropy_init(&connssl->entropy); 178 if((ret = ctr_drbg_init(&connssl->ctr_drbg, entropy_func, &connssl->entropy, 189 memset(&connssl->cacert, 0, sizeof(x509_crt)); 192 ret = x509_crt_parse_file(&connssl->cacert, 208 ret = x509_crt_parse_path(&connssl->cacert, 224 memset(&connssl->clicert, 0, sizeof(x509_crt)); 227 ret = x509_crt_parse_file(&connssl->clicert 408 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; local 561 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 682 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; 1004 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1831 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1971 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2095 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2227 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2248 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2326 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; local 2342 const struct ssl_connect_data *connssl = &conn->ssl[connindex]; local 2398 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2464 struct ssl_connect_data *connssl = &conn->ssl[num]; local [all...] |
gskit.c | 489 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 493 QsoWaitForIOCompletion(connssl->iocport, &cstat, (struct timeval *) NULL); 497 static void close_async_handshake(struct ssl_connect_data *connssl) 499 QsoDestroyIOCompletionPort(connssl->iocport); 500 connssl->iocport = -1; 559 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 573 connssl->handle = (gsk_handle) NULL; 574 connssl->iocport = -1; 610 result = gskit_status(data, gsk_secure_soc_open(envir, &connssl->handle), 646 result = set_buffer(data, connssl->handle 754 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 805 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 893 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 980 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 989 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
openssl.c | 909 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 911 if(connssl->handle) { 912 (void)SSL_shutdown(connssl->handle); 913 SSL_set_connect_state(connssl->handle); 915 SSL_free (connssl->handle); 916 connssl->handle = NULL; 918 if(connssl->ctx) { 919 SSL_CTX_free (connssl->ctx); 920 connssl->ctx = NULL; 931 struct ssl_connect_data *connssl = &conn->ssl[sockindex] local 1684 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2131 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2830 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 2900 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
cyassl.c | 582 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 584 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); 591 our_ssl_sessionid = SSL_get_session(connssl->handle); 615 connssl->connecting_state = ssl_connect_done; 740 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 742 if(connssl->handle) { 743 SSL_free (connssl->handle); 744 connssl->handle = NULL; 758 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 764 if(ssl_connection_complete == connssl->state) [all...] |
nss.c | 949 static CURLcode cmp_peer_pubkey(struct ssl_connect_data *connssl, 953 struct Curl_easy *data = connssl->data; 961 cert = SSL_PeerCertificate(connssl->handle); 1004 struct ssl_connect_data *connssl = (struct ssl_connect_data *)arg; local 1005 struct Curl_easy *data = connssl->data; 1006 const char *nickname = connssl->client_nickname; 1008 if(connssl->obj_clicert) { 1022 if(PK11_ReadRawAttribute(PK11_TypeGeneric, connssl->obj_clicert, CKA_VALUE, 1085 struct ssl_connect_data *connssl = (struct ssl_connect_data *)secret; local 1336 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1551 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1817 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 1880 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; 540 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 544 /* line from openssl.c: (void)SSL_shutdown(connssl->ssl); 549 SSL_set_connect_state(connssl->handle); * 564 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 617 struct ssl_connect_data *connssl = &conn->ssl[num]; local [all...] |
gtls.c | 266 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local 284 if(connssl->connecting_state == ssl_connect_2_reading 285 || connssl->connecting_state == ssl_connect_2_writing) { 288 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; 290 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; 315 connssl->connecting_state = 350 connssl->connecting_state = ssl_connect_1; 1331 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; local [all...] |
/external/curl/lib/ |
http.c | 1403 struct ssl_connect_data *connssl = &conn->ssl[FIRSTSOCKET]; local [all...] |