Lines Matching refs:connssl
234 #define BACKEND connssl->backend
1269 static void ossl_close(struct ssl_connect_data *connssl) in ossl_close() argument
1300 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in Curl_ossl_shutdown() local
1699 struct ssl_connect_data *connssl) in verifystatus() argument
2172 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in set_ssl_version_min_max() local
2295 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_connect_step1() local
2321 DEBUGASSERT(ssl_connect_1 == connssl->connecting_state); in ossl_connect_step1()
2779 connssl->connecting_state = ssl_connect_2; in ossl_connect_step1()
2788 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_connect_step2() local
2791 DEBUGASSERT(ssl_connect_2 == connssl->connecting_state in ossl_connect_step2()
2792 || ssl_connect_2_reading == connssl->connecting_state in ossl_connect_step2()
2793 || ssl_connect_2_writing == connssl->connecting_state); in ossl_connect_step2()
2811 connssl->connecting_state = ssl_connect_2_reading; in ossl_connect_step2()
2815 connssl->connecting_state = ssl_connect_2_writing; in ossl_connect_step2()
2820 connssl->connecting_state = ssl_connect_2; in ossl_connect_step2()
2834 connssl->connecting_state = ssl_connect_2; in ossl_connect_step2()
2888 connssl->connecting_state = ssl_connect_3; in ossl_connect_step2()
3038 struct ssl_connect_data *connssl) in get_cert_chain() argument
3319 struct ssl_connect_data *connssl, in servercert() argument
3337 (void)get_cert_chain(conn, connssl); in servercert()
3470 result = verifystatus(conn, connssl); in servercert()
3493 connssl->connecting_state = ssl_connect_done; in servercert()
3501 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_connect_step3() local
3503 DEBUGASSERT(ssl_connect_3 == connssl->connecting_state); in ossl_connect_step3()
3512 result = servercert(conn, connssl, (SSL_CONN_CONFIG(verifypeer) || in ossl_connect_step3()
3516 connssl->connecting_state = ssl_connect_done; in ossl_connect_step3()
3531 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_connect_common() local
3537 if(ssl_connection_complete == connssl->state) { in ossl_connect_common()
3542 if(ssl_connect_1 == connssl->connecting_state) { in ossl_connect_common()
3557 while(ssl_connect_2 == connssl->connecting_state || in ossl_connect_common()
3558 ssl_connect_2_reading == connssl->connecting_state || in ossl_connect_common()
3559 ssl_connect_2_writing == connssl->connecting_state) { in ossl_connect_common()
3571 if(connssl->connecting_state == ssl_connect_2_reading || in ossl_connect_common()
3572 connssl->connecting_state == ssl_connect_2_writing) { in ossl_connect_common()
3575 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in ossl_connect_common()
3577 connssl->connecting_state?sockfd:CURL_SOCKET_BAD; in ossl_connect_common()
3606 (ssl_connect_2 == connssl->connecting_state || in ossl_connect_common()
3607 ssl_connect_2_reading == connssl->connecting_state || in ossl_connect_common()
3608 ssl_connect_2_writing == connssl->connecting_state))) in ossl_connect_common()
3613 if(ssl_connect_3 == connssl->connecting_state) { in ossl_connect_common()
3619 if(ssl_connect_done == connssl->connecting_state) { in ossl_connect_common()
3620 connssl->state = ssl_connection_complete; in ossl_connect_common()
3629 connssl->connecting_state = ssl_connect_1; in ossl_connect_common()
3658 const struct ssl_connect_data *connssl = &conn->ssl[connindex]; in Curl_ossl_data_pending() local
3661 if(connssl->backend->handle && SSL_pending(connssl->backend->handle)) in Curl_ossl_data_pending()
3685 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; in ossl_send() local
3747 struct ssl_connect_data *connssl = &conn->ssl[num]; in ossl_recv() local
3895 static void *Curl_ossl_get_internals(struct ssl_connect_data *connssl, in Curl_ossl_get_internals() argument